Pepper: Split LoadNaClModuleCommon, trusted plugin

LoadNaClModuleCommon() handles loading modules in multiple cases:
  - On the main thread, when nexes are loaded.
    This is LoadNaClModule().
  - On a background thread, when running a pexe translator.
    This is LoadHelperNaClModule().

This change splits LoadNaClModuleCommon() based on which case above it
corresponds to. This is because once we move to Chromium IPC from SRPC for
loading the module, we'll have to effectively make LoadNaClModule asynchronous.

BUG=333950

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249863 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249863
Adds a new ContentSettingType for Android app banners

These settings will store information about what Play
Store apps a site has popped up a banner for.

* The ContentSetting will store a DictionaryValue of
<package name, is allowed> pairs.  If anything except a
DictionaryValue is found in the setting, it is wiped out.

* Once a banner is dismissed, it will be permanently blocked 
from being shown again by storing it in the DictionaryValue
for the site.

* We limit the number of apps a site is allowed to show a
banner for to just 3 to avoid situations where a site tries
inundating a user with banners for different apps.

* These settings are destroyed when the user chooses to
clear their site data and are not meant to be directly
visible from the UI.

BUG=341556

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249864 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249864
Fixes chromium build when archiving the debug nacl_irt

Now that tls_edit is used as a post process to fix up the TLS for the
nacl_irt, we also need to run it on the debug version of the nacl_irt
so that we can archive away a working version of the debug nacl_irt.

This change is needed to fix the build bots when archiving
the nacl_irt.

R=mcgraphr@chromium.org, sbc@chromium.org
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3127
NOTRY=true

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

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