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

Unified Diff: chrome/browser/sync/profile_sync_test_util.cc

Issue 8913009: Hide the process of instantiating NotificationServiceImpl from embedders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/sync/profile_sync_test_util.cc
diff --git a/chrome/browser/sync/profile_sync_test_util.cc b/chrome/browser/sync/profile_sync_test_util.cc
index 7a18bb07df14b95a5dbc68c3160e79158bcedf44..d36f9082aeaf2c9f899e19d1a24d40f66416cb75 100644
--- a/chrome/browser/sync/profile_sync_test_util.cc
+++ b/chrome/browser/sync/profile_sync_test_util.cc
@@ -38,7 +38,7 @@ void ThreadNotificationService::TearDown() {
ThreadNotificationService::~ThreadNotificationService() {}
void ThreadNotificationService::InitTask() {
- service_.reset(new NotificationServiceImpl());
+ service_.reset(content::NotificationService::Create());
done_event_.Signal();
}
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.h ('k') | chrome/browser/sync/util/extensions_activity_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698