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

Unified Diff: chrome/browser/automation/automation_tab_helper_browsertest.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/automation/automation_tab_helper_browsertest.cc
===================================================================
--- chrome/browser/automation/automation_tab_helper_browsertest.cc (revision 106380)
+++ chrome/browser/automation/automation_tab_helper_browsertest.cc (working copy)
@@ -22,7 +22,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
#include "net/base/net_util.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -69,7 +69,7 @@
MockNotificationObserver* mock_notification_observer) {
mock_notification_observer->Register(
chrome::NOTIFICATION_DOM_OPERATION_RESPONSE,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
testing::InSequence expect_in_sequence;
EXPECT_CALL(*mock_tab_observer, OnFirstPendingLoad(_));
@@ -185,7 +185,7 @@
MockNotificationObserver mock_notification_observer;
mock_notification_observer.Register(
chrome::NOTIFICATION_DOM_OPERATION_RESPONSE,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
MockTabEventObserver mock_tab_observer(tab_helper());
EXPECT_CALL(mock_tab_observer, OnFirstPendingLoad(_));

Powered by Google App Engine
This is Rietveld 408576698