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

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

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 7f51c713aa3aa254afc322e90c13be171105d7f1..8e2bd3864568c4b2bd7be6158b8445f4a683d450 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
@@ -28,6 +28,7 @@
using extensions::Extension;
using extensions::ExtensionRegistry;
using extensions::Manifest;
+using extensions::UninstalledExtensionInfo;
SyncExtensionHelper::ExtensionState::ExtensionState()
: enabled_state(ENABLED), incognito_enabled(false) {}
@@ -83,7 +84,7 @@ void SyncExtensionHelper::UninstallExtension(
ExtensionService::UninstallExtensionHelper(
extensions::ExtensionSystem::Get(profile)->extension_service(),
extensions::id_util::GenerateId(name),
- ExtensionService::UNINSTALL_REASON_SYNC);
+ UninstalledExtensionInfo::REASON_SYNC);
}
std::vector<std::string> SyncExtensionHelper::GetInstalledExtensionNames(

Powered by Google App Engine
This is Rietveld 408576698