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

Unified Diff: chrome/test/test_navigation_observer.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
« no previous file with comments | « chrome/test/reliability/page_load_test.cc ('k') | chrome/tools/profiles/generate_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/test_navigation_observer.cc
===================================================================
--- chrome/test/test_navigation_observer.cc (revision 106380)
+++ chrome/test/test_navigation_observer.cc (working copy)
@@ -6,6 +6,7 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/renderer_host/render_view_host_observer.h"
+#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -52,7 +53,7 @@
// When we need to do javascript injection, register for RVH creation.
if (js_injection_ready_observer_) {
registrar_.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_CREATED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
RegisterAsObserver(source);
}
@@ -81,7 +82,7 @@
// When we need to do javascript injection, register for RVH creation.
if (js_injection_ready_observer_) {
registrar_.Add(this, content::NOTIFICATION_RENDER_VIEW_HOST_CREATED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
}
« no previous file with comments | « chrome/test/reliability/page_load_test.cc ('k') | chrome/tools/profiles/generate_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698