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

Unified Diff: chrome/browser/extensions/user_script_master_unittest.cc

Issue 425303002: Move extension notifications to extensions/browser/notification_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (extension-notifications) rebase 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
« no previous file with comments | « chrome/browser/extensions/user_script_master.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/user_script_master_unittest.cc
diff --git a/chrome/browser/extensions/user_script_master_unittest.cc b/chrome/browser/extensions/user_script_master_unittest.cc
index ccc2c12cf8453698a4ba1a9e9ed172b8b084f527..4731ceb851cb922deeeb504ac141f818bed0e282 100644
--- a/chrome/browser/extensions/user_script_master_unittest.cc
+++ b/chrome/browser/extensions/user_script_master_unittest.cc
@@ -46,7 +46,8 @@ class UserScriptMasterTest : public testing::Test,
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
// Register for all user script notifications.
- registrar_.Add(this, chrome::NOTIFICATION_USER_SCRIPTS_UPDATED,
+ registrar_.Add(this,
+ extensions::NOTIFICATION_USER_SCRIPTS_UPDATED,
content::NotificationService::AllSources());
// UserScriptMaster posts tasks to the file thread so make the current
@@ -65,7 +66,7 @@ class UserScriptMasterTest : public testing::Test,
virtual void Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE {
- DCHECK(type == chrome::NOTIFICATION_USER_SCRIPTS_UPDATED);
+ DCHECK(type == extensions::NOTIFICATION_USER_SCRIPTS_UPDATED);
shared_memory_ = content::Details<base::SharedMemory>(details).ptr();
if (base::MessageLoop::current() == &message_loop_)
« no previous file with comments | « chrome/browser/extensions/user_script_master.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698