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

Unified Diff: chrome/browser/sync/glue/app_notification_data_type_controller_unittest.cc

Issue 10830036: Moved the AppNotification system into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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/app_notification_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/app_notification_data_type_controller_unittest.cc b/chrome/browser/sync/glue/app_notification_data_type_controller_unittest.cc
index 1db82963819bbacd7812b8639e59f29ba6889c41..b7832768475e8062e36a65cddba220ac0c5a9d58 100644
--- a/chrome/browser/sync/glue/app_notification_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/app_notification_data_type_controller_unittest.cc
@@ -40,17 +40,17 @@ class TestAppNotificationDataTypeController
: AppNotificationDataTypeController(profile_sync_factory,
profile,
sync_service),
- manager_(new AppNotificationManager(profile_)) {
+ manager_(new extensions::AppNotificationManager(profile_)) {
}
- virtual AppNotificationManager* GetAppNotificationManager() {
+ virtual extensions::AppNotificationManager* GetAppNotificationManager() {
return manager_.get();
}
private:
virtual ~TestAppNotificationDataTypeController() {}
- scoped_refptr<AppNotificationManager> manager_;
+ scoped_refptr<extensions::AppNotificationManager> manager_;
};
namespace {
@@ -194,7 +194,7 @@ TEST_F(SyncAppNotificationDataTypeControllerTest, StartManagerNotReady) {
// Send the notification that the TemplateURLService has started.
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_APP_NOTIFICATION_MANAGER_LOADED,
- content::Source<AppNotificationManager>(
+ content::Source<extensions::AppNotificationManager>(
app_notif_dtc_->GetAppNotificationManager()),
content::NotificationService::NoDetails());
EXPECT_EQ(DataTypeController::MODEL_LOADED, app_notif_dtc_->state());
« no previous file with comments | « chrome/browser/sync/glue/app_notification_data_type_controller.cc ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698