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

Unified Diff: trunk/src/chrome/browser/apps/ephemeral_app_service.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
Index: trunk/src/chrome/browser/apps/ephemeral_app_service.cc
===================================================================
--- trunk/src/chrome/browser/apps/ephemeral_app_service.cc (revision 281226)
+++ trunk/src/chrome/browser/apps/ephemeral_app_service.cc (working copy)
@@ -194,12 +194,8 @@
GetAppsToRemove(app_count, app_launch_times, &remove_app_ids);
for (std::set<std::string>::const_iterator id = remove_app_ids.begin();
id != remove_app_ids.end(); ++id) {
- if (service->UninstallExtension(
- *id,
- ExtensionService::UNINSTALL_REASON_ORPHANED_EPHEMERAL_EXTENSION,
- NULL)) {
+ if (service->UninstallExtension(*id, false, NULL))
--app_count;
- }
}
}

Powered by Google App Engine
This is Rietveld 408576698