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

Unified Diff: chrome/browser/sync/profile_sync_test_util.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/sync/profile_sync_test_util.h ('k') | chrome/browser/sync/signin_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_test_util.cc
===================================================================
--- chrome/browser/sync/profile_sync_test_util.cc (revision 106380)
+++ chrome/browser/sync/profile_sync_test_util.cc (working copy)
@@ -36,7 +36,7 @@
ThreadNotificationService::~ThreadNotificationService() {}
void ThreadNotificationService::InitTask() {
- service_.reset(new NotificationService());
+ service_.reset(new NotificationServiceImpl());
done_event_.Signal();
}
@@ -51,7 +51,7 @@
void ThreadNotifier::Notify(int type,
const content::NotificationDetails& details) {
- Notify(type, NotificationService::AllSources(), details);
+ Notify(type, content::NotificationService::AllSources(), details);
}
void ThreadNotifier::Notify(int type,
@@ -73,6 +73,6 @@
void ThreadNotifier::NotifyTask(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- NotificationService::current()->Notify(type, source, details);
+ content::NotificationService::current()->Notify(type, source, details);
done_event_.Signal();
}
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.h ('k') | chrome/browser/sync/signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698