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

Unified Diff: content/browser/tab_contents/interstitial_page.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: content/browser/tab_contents/interstitial_page.cc
===================================================================
--- content/browser/tab_contents/interstitial_page.cc (revision 106237)
+++ content/browser/tab_contents/interstitial_page.cc (working copy)
@@ -23,7 +23,7 @@
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/tab_contents/tab_contents_view.h"
#include "content/common/dom_storage_common.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "content/common/view_messages.h"
#include "content/public/browser/notification_source.h"
#include "content/public/common/bindings_policy.h"
@@ -348,10 +348,10 @@
// after the interstitial page was registered with |tab_|, since there will be
// a callback to |tab_| testing if an interstitial page is showing before
// hiding the bookmark bar.
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
content::NOTIFICATION_INTERSTITIAL_ATTACHED,
content::Source<TabContents>(tab_),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
RenderWidgetHostView* rwh_view = tab_->render_view_host()->view();

Powered by Google App Engine
This is Rietveld 408576698