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

Unified Diff: chrome/browser/google/google_url_tracker_unittest.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/browser/google/google_url_tracker.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google/google_url_tracker_unittest.cc
===================================================================
--- chrome/browser/google/google_url_tracker_unittest.cc (revision 106380)
+++ chrome/browser/google/google_url_tracker_unittest.cc (working copy)
@@ -15,7 +15,7 @@
#include "chrome/test/base/testing_pref_service.h"
#include "content/browser/browser_thread.h"
#include "content/common/net/url_fetcher.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "content/test/test_url_fetcher_factory.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context_getter.h"
@@ -189,9 +189,9 @@
void GoogleURLTrackerTest::RequestServerCheck() {
if (!registrar_.IsRegistered(observer_.get(),
chrome::NOTIFICATION_GOOGLE_URL_UPDATED,
- NotificationService::AllSources())) {
+ content::NotificationService::AllSources())) {
registrar_.Add(observer_.get(), chrome::NOTIFICATION_GOOGLE_URL_UPDATED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
GoogleURLTracker::RequestServerCheck();
MessageLoop::current()->RunAllPending();
@@ -231,7 +231,7 @@
google_url_tracker->SearchCommitted();
if (google_url_tracker->registrar_.IsRegistered(google_url_tracker,
content::NOTIFICATION_NAV_ENTRY_PENDING,
- NotificationService::AllSources()))
+ content::NotificationService::AllSources()))
google_url_tracker->search_url_ = search_url;
}
« no previous file with comments | « chrome/browser/google/google_url_tracker.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698