Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: trunk/src/chrome/browser/apps/drive/drive_app_provider.cc

Issue 369863002: Revert 281130 "Replace "external_install" boolean parameter with..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/src/chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/apps/drive/drive_app_provider.cc
===================================================================
--- trunk/src/chrome/browser/apps/drive/drive_app_provider.cc (revision 281226)
+++ trunk/src/chrome/browser/apps/drive/drive_app_provider.cc (working copy)
@@ -82,9 +82,7 @@
if (existing_app && is_existing_app_generated) {
extensions::ExtensionSystem::Get(profile_)
->extension_service()
- ->UninstallExtension(existing_chrome_app_id,
- ExtensionService::UNINSTALL_REASON_SYNC,
- NULL);
+ ->UninstallExtension(existing_chrome_app_id, false, NULL);
}
}
@@ -193,8 +191,7 @@
extensions::ExtensionSystem::Get(profile_)
->extension_service()
- ->UninstallExtension(
- chrome_app_id, ExtensionService::UNINSTALL_REASON_SYNC, NULL);
+ ->UninstallExtension(chrome_app_id, false, NULL);
}
void DriveAppProvider::OnDriveAppRegistryUpdated() {
« no previous file with comments | « no previous file | trunk/src/chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698