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

Unified Diff: chrome/browser/extensions/activity_log/activity_log_enabled_unittest.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/extensions/activity_log/activity_log_enabled_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc b/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc
index b5ad5d05f89b275e976b84ff5cbe24086caa621d..d8fb71357ffa50d6256063e55815cb5e1cac7b0e 100644
--- a/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc
@@ -189,7 +189,7 @@ TEST_F(ActivityLogEnabledTest, WatchdogSwitch) {
EXPECT_FALSE(activity_log2->IsDatabaseEnabled());
extension_service1->UninstallExtension(
- kExtensionID, ExtensionService::UNINSTALL_REASON_FOR_TESTING, NULL);
+ kExtensionID, UninstalledExtensionInfo::REASON_FOR_TESTING, NULL);
EXPECT_EQ(0,
profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
@@ -265,7 +265,7 @@ TEST_F(ActivityLogEnabledTest, AppAndCommandLine) {
EXPECT_TRUE(activity_log->IsWatchdogAppActive());
extension_service->UninstallExtension(
- kExtensionID, ExtensionService::UNINSTALL_REASON_FOR_TESTING, NULL);
+ kExtensionID, UninstalledExtensionInfo::REASON_FOR_TESTING, NULL);
EXPECT_TRUE(activity_log->IsDatabaseEnabled());
EXPECT_EQ(0,

Powered by Google App Engine
This is Rietveld 408576698