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

Unified Diff: chrome/browser/sync/test/integration/sync_extension_helper.cc

Issue 284103002: Replace "external_install" boolean parameter with explicit enumeration in ExtensionUninstall method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: chrome/browser/sync/test/integration/sync_extension_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
index 467b3f5633e90b9ae9592924326fdcc5760bc39a..e4b18048b5dfdbb52025f6addafc366f4d54b4fc 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
@@ -83,7 +83,8 @@ void SyncExtensionHelper::UninstallExtension(
Profile* profile, const std::string& name) {
ExtensionService::UninstallExtensionHelper(
extensions::ExtensionSystem::Get(profile)->extension_service(),
- extensions::id_util::GenerateId(name));
+ extensions::id_util::GenerateId(name),
+ ExtensionService::kUninstallReasonSynch);
}
std::vector<std::string> SyncExtensionHelper::GetInstalledExtensionNames(

Powered by Google App Engine
This is Rietveld 408576698