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

Unified Diff: chrome/browser/ui/views/dom_view_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/ui/views/dom_view_browsertest.cc
===================================================================
--- chrome/browser/ui/views/dom_view_browsertest.cc (revision 106380)
+++ chrome/browser/ui/views/dom_view_browsertest.cc (working copy)
@@ -6,6 +6,7 @@
#include "chrome/browser/ui/views/dom_view.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
+#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "views/widget/widget.h"
@@ -33,7 +34,7 @@
dom_view->Init(browser()->profile(), NULL);
ui_test_utils::WindowedNotificationObserver load_stop_observer(
content::NOTIFICATION_LOAD_STOP,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
dom_view->LoadURL(GURL("http://www.google.com"));
load_stop_observer.Wait();
one->Show();
@@ -54,7 +55,7 @@
dom_view->Init(browser()->profile(), NULL);
ui_test_utils::WindowedNotificationObserver load_stop_observer(
content::NOTIFICATION_LOAD_STOP,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
dom_view->LoadURL(GURL("http://www.google.com"));
load_stop_observer.Wait();
one->Show();
@@ -79,7 +80,7 @@
dom_view->Init(browser()->profile(), NULL);
ui_test_utils::WindowedNotificationObserver load_stop_observer(
content::NOTIFICATION_LOAD_STOP,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
dom_view->LoadURL(GURL("http://www.google.com"));
load_stop_observer.Wait();
one->Show();
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | chrome/browser/ui/views/file_manager_dialog_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698