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

Unified Diff: chrome/browser/sync/glue/search_engine_data_type_controller_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
Index: chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc
===================================================================
--- chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc (revision 106380)
+++ chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc (working copy)
@@ -16,7 +16,7 @@
#include "chrome/browser/sync/profile_sync_service_mock.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/base/profile_mock.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "testing/gtest/include/gtest/gtest.h"
using browser_sync::ChangeProcessorMock;
@@ -107,10 +107,10 @@
EXPECT_EQ(DataTypeController::MODEL_STARTING, search_engine_dtc_->state());
// Send the notification that the TemplateURLService has started.
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED,
content::Source<TemplateURLService>(test_util_.model()),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
EXPECT_EQ(DataTypeController::RUNNING, search_engine_dtc_->state());
}
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_mock.h ('k') | chrome/browser/sync/glue/session_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698