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

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: Fix header file. 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..eafd806ca4f4ed7e955c631ce19aeaf691852917 100644
--- a/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc
@@ -13,6 +13,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
+#include "extensions/browser/uninstall_reason.h"
#include "extensions/common/extension_builder.h"
#if defined OS_CHROMEOS
@@ -189,7 +190,7 @@ TEST_F(ActivityLogEnabledTest, WatchdogSwitch) {
EXPECT_FALSE(activity_log2->IsDatabaseEnabled());
extension_service1->UninstallExtension(
- kExtensionID, ExtensionService::UNINSTALL_REASON_FOR_TESTING, NULL);
+ kExtensionID, extensions::UNINSTALL_REASON_FOR_TESTING, NULL);
EXPECT_EQ(0,
profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
@@ -265,7 +266,7 @@ TEST_F(ActivityLogEnabledTest, AppAndCommandLine) {
EXPECT_TRUE(activity_log->IsWatchdogAppActive());
extension_service->UninstallExtension(
- kExtensionID, ExtensionService::UNINSTALL_REASON_FOR_TESTING, NULL);
+ kExtensionID, extensions::UNINSTALL_REASON_FOR_TESTING, NULL);
EXPECT_TRUE(activity_log->IsDatabaseEnabled());
EXPECT_EQ(0,

Powered by Google App Engine
This is Rietveld 408576698