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

Unified Diff: chrome/browser/sync/glue/data_type_manager_mock.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/glue/data_type_manager_mock.h
===================================================================
--- chrome/browser/sync/glue/data_type_manager_mock.h (revision 106380)
+++ chrome/browser/sync/glue/data_type_manager_mock.h (working copy)
@@ -9,7 +9,7 @@
#include "chrome/browser/sync/api/sync_error.h"
#include "chrome/browser/sync/glue/data_type_manager.h"
#include "chrome/browser/sync/profile_sync_test_util.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_types.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -35,7 +35,7 @@
}
ACTION_P3(NotifyFromDataTypeManagerWithResult, dtm, type, result) {
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
type,
content::Source<browser_sync::DataTypeManager>(dtm),
content::Details<const browser_sync::DataTypeManager::ConfigureResult>(
@@ -43,9 +43,9 @@
}
ACTION_P2(NotifyFromDataTypeManager, dtm, type) {
- NotificationService::current()->Notify(type,
+ content::NotificationService::current()->Notify(type,
content::Source<browser_sync::DataTypeManager>(dtm),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
}
namespace browser_sync {

Powered by Google App Engine
This is Rietveld 408576698