Perform install tasks for newly installed or upgraded component apps/extensions.
This ensures, e.g., that background pages for component extensions are run and
that their event listeners are registered appropriately. The change also saves
manifest information into profile preferences for component applications so that
the version can be tracked, which was not previously done.

BUG=157717
TEST=browser_test PlatformAppBrowserTest.ComponentAppBackgroundPages

Review URL: https://chromiumcodereview.appspot.com/11275069

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170137 0039d316-1c4b-4281-b951-d872f2087c98
18 files changed