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

Unified Diff: chrome/browser/extensions/activity_log/activity_log_unittest.cc

Issue 2372223003: [Extensions] Fix incorrect counting prefs in activity log (Closed)
Patch Set: nit Created 4 years, 3 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
« no previous file with comments | « chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/activity_log_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/activity_log_unittest.cc b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
index e11d227d69b4349599ce4eebf9ac9b06bf6bd3f9..cd8d9b32312ee39b03e81b3b0423ebc9d191f2b2 100644
--- a/chrome/browser/extensions/activity_log/activity_log_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
@@ -430,6 +430,8 @@ class ActivityLogTestWithoutSwitch : public ActivityLogTest {
};
TEST_F(ActivityLogTestWithoutSwitch, TestShouldLog) {
+ static_cast<TestExtensionSystem*>(
+ ExtensionSystem::Get(profile()))->SetReady();
ActivityLog* activity_log = ActivityLog::GetInstance(profile());
scoped_refptr<const Extension> empty_extension =
test_util::CreateEmptyExtension();
« no previous file with comments | « chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698