Install Drive extension if Drive hosted app is present
commit65b68ab19508be0ea09decbf2a9893c8f5045348
authorxiyuan <xiyuan@chromium.org>
Fri, 26 Jun 2015 19:00:18 +0000 (26 12:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 19:01:55 +0000 (26 19:01 +0000)
treec76362aca684d6a7f047996c0c5aebe7faaf3025
parente0ad0cfd95a0e90bcfb817168cade7bd1143ada4
Install Drive extension if Drive hosted app is present

Drive hosted app is deprecated and its functionaitly replaced by Drive
extension. As part of the migration, install the extension when user has
the hosted app.

BUG=503262
TEST=ExtensionMigratorTest.*

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

Cr-Commit-Position: refs/heads/master@{#336432}
chrome/browser/extensions/extension_migrator.cc [new file with mode: 0644]
chrome/browser/extensions/extension_migrator.h [new file with mode: 0644]
chrome/browser/extensions/extension_migrator_unittest.cc [new file with mode: 0644]
chrome/browser/extensions/external_provider_impl.cc
chrome/browser/resources/default_apps/external_extensions.json
chrome/chrome_browser_extensions.gypi
chrome/chrome_tests_unit.gypi
chrome/common/extensions/extension_constants.cc
chrome/common/extensions/extension_constants.h