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

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

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/extension_browser_event_router.cc
===================================================================
--- chrome/browser/extensions/extension_browser_event_router.cc (revision 106380)
+++ chrome/browser/extensions/extension_browser_event_router.cc (working copy)
@@ -20,7 +20,7 @@
#include "chrome/common/extensions/extension_constants.h"
#include "content/browser/tab_contents/navigation_entry.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
namespace events = extension_event_names;
namespace tab_keys = extension_tabs_module_constants;
@@ -75,7 +75,7 @@
// Needed for when no suitable window can be passed to an extension as the
// currently focused window.
registrar_.Add(this, content::NOTIFICATION_NO_KEY_WINDOW,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
#endif
// Init() can happen after the browser is running, so catch up with any
« no previous file with comments | « chrome/browser/extensions/extension_browser_actions_api.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698