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

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

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/sync/profile_sync_test_util.h
===================================================================
--- chrome/browser/sync/profile_sync_test_util.h (revision 106380)
+++ chrome/browser/sync/profile_sync_test_util.h (working copy)
@@ -14,7 +14,7 @@
#include "base/synchronization/waitable_event.h"
#include "chrome/browser/sync/profile_sync_service_observer.h"
#include "content/browser/browser_thread.h"
-#include "content/common/notification_service.h"
+#include "content/browser/notification_service_impl.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -24,9 +24,10 @@
}
ACTION_P(Notify, type) {
- NotificationService::current()->Notify(type,
- NotificationService::AllSources(),
- NotificationService::NoDetails());
+ content::NotificationService::current()->Notify(
+ type,
+ content::NotificationService::AllSources(),
+ content::NotificationService::NoDetails());
}
ACTION(QuitUIMessageLoop) {
@@ -59,7 +60,7 @@
base::WaitableEvent done_event_;
base::Thread* notification_thread_;
- scoped_ptr<NotificationService> service_;
+ scoped_ptr<NotificationServiceImpl> service_;
};
class ThreadNotifier : // NOLINT
« no previous file with comments | « chrome/browser/sync/profile_sync_service_typed_url_unittest.cc ('k') | chrome/browser/sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698