Allow file: uris for <file> input types
Also changed all the if/else to early returns

BUG=176703

Test:
Installed File Manager from play

 Loaded GMail in html mode (mail.google.com/?ui=html) verified that the Attach file is in fact a <file> tag. Sent myself a mail with an attachment. Verifed that the file was properly sent

Review URL: https://codereview.chromium.org/60673003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233965 0039d316-1c4b-4281-b951-d872f2087c98
Remove suppression for MessageChannel.create()

There are still some stale-looking, very old MessagePortChannel leaks still
in suppressions, but I'll leave those to the memory sheriffs to further triage.

TBR=timurrrr@chromium.org
NOTRY=true
BUG=311229

Review URL: https://codereview.chromium.org/67243002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233966 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233966
Linux sandbox: make BPF policies an implementation of an interface.

This is the first pass. We renamed SetSandboxPolicy() to
SetSandboxPolicyDeprecated().

The new SetSandboxPolicy() takes a pointer to an instance of a class that
implements a simple interface.

This will improve flexibility by removing the need to pass static pointers
for policies. In particular, this will allow us to greatly improve
readability of the content/ policies and to use C++ inheritance to implement
our policy hierarchy.

BUG=316486
R=rsesek@chromium.org

Review URL: https://codereview.chromium.org/62953011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233967 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233967