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

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

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 6 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 30e4ee00a5d8ecabda2fc9a51513001cb233fb34..1db82963819bbacd7812b8639e59f29ba6889c41 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
@@ -86,7 +86,7 @@ class SyncAppNotificationDataTypeControllerTest
virtual void TearDown() {
// Must be done before we pump the loop.
- syncable_service_.StopSyncing(syncable::APP_NOTIFICATIONS);
+ syncable_service_.StopSyncing(syncer::APP_NOTIFICATIONS);
app_notif_dtc_ = NULL;
PumpLoop();
}
@@ -121,7 +121,7 @@ class SyncAppNotificationDataTypeControllerTest
EXPECT_CALL(model_load_callback_, Run(_, _));
// Ownership gets passed to caller of CreateGenericChangeProcessor.
EXPECT_CALL(*profile_sync_factory_,
- GetSyncableServiceForType(syncable::APP_NOTIFICATIONS)).
+ GetSyncableServiceForType(syncer::APP_NOTIFICATIONS)).
WillOnce(Return(syncable_service_.AsWeakPtr()));
EXPECT_CALL(*profile_sync_factory_, CreateSharedChangeProcessor()).
WillOnce(MakeSharedChangeProcessor());
@@ -218,7 +218,7 @@ TEST_F(SyncAppNotificationDataTypeControllerTest, StartAssociationFailed) {
EXPECT_CALL(start_callback_,
Run(DataTypeController::ASSOCIATION_FAILED, _));
syncable_service_.set_merge_data_and_start_syncing_error(
- syncer::SyncError(FROM_HERE, "Error", syncable::APP_NOTIFICATIONS));
+ syncer::SyncError(FROM_HERE, "Error", syncer::APP_NOTIFICATIONS));
Start();
EXPECT_EQ(DataTypeController::DISABLED, app_notif_dtc_->state());

Powered by Google App Engine
This is Rietveld 408576698