| Index: chrome/browser/apps/drive/drive_app_provider.cc
|
| diff --git a/chrome/browser/apps/drive/drive_app_provider.cc b/chrome/browser/apps/drive/drive_app_provider.cc
|
| index 3aeb5a03e001a0834f533c2d5bff442918aa1234..d89239fdcaa448c35b73965d2e1897f478d8be50 100644
|
| --- a/chrome/browser/apps/drive/drive_app_provider.cc
|
| +++ b/chrome/browser/apps/drive/drive_app_provider.cc
|
| @@ -25,6 +25,7 @@
|
|
|
| using extensions::Extension;
|
| using extensions::ExtensionRegistry;
|
| +using extensions::UninstalledExtensionInfo;
|
|
|
| namespace {
|
|
|
| @@ -83,7 +84,7 @@ void DriveAppProvider::UpdateMappingAndExtensionSystem(
|
| extensions::ExtensionSystem::Get(profile_)
|
| ->extension_service()
|
| ->UninstallExtension(existing_chrome_app_id,
|
| - ExtensionService::UNINSTALL_REASON_SYNC,
|
| + UninstalledExtensionInfo::REASON_SYNC,
|
| NULL);
|
| }
|
| }
|
| @@ -194,7 +195,7 @@ void DriveAppProvider::ProcessRemovedDriveApp(const std::string& drive_app_id) {
|
| extensions::ExtensionSystem::Get(profile_)
|
| ->extension_service()
|
| ->UninstallExtension(
|
| - chrome_app_id, ExtensionService::UNINSTALL_REASON_SYNC, NULL);
|
| + chrome_app_id, UninstalledExtensionInfo::REASON_SYNC, NULL);
|
| }
|
|
|
| void DriveAppProvider::OnDriveAppRegistryUpdated() {
|
|
|