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

Unified Diff: chrome/browser/sync/glue/chrome_sync_notification_bridge.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/chrome_sync_notification_bridge.cc
diff --git a/chrome/browser/sync/glue/chrome_sync_notification_bridge.cc b/chrome/browser/sync/glue/chrome_sync_notification_bridge.cc
index 5b871de577142b085a17f33972367ad5850134cf..9936fa08f020e93b0eff6fe86a1dcbecc3f81db8 100644
--- a/chrome/browser/sync/glue/chrome_sync_notification_bridge.cc
+++ b/chrome/browser/sync/glue/chrome_sync_notification_bridge.cc
@@ -28,7 +28,7 @@ ChromeSyncNotificationBridge::ChromeSyncNotificationBridge(
ChromeSyncNotificationBridge::~ChromeSyncNotificationBridge() {}
void ChromeSyncNotificationBridge::UpdateEnabledTypes(
- const syncable::ModelTypeSet types) {
+ const syncer::ModelTypeSet types) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
enabled_types_ = types;
}
@@ -59,14 +59,14 @@ void ChromeSyncNotificationBridge::Observe(
return;
}
- content::Details<const syncable::ModelTypePayloadMap>
+ content::Details<const syncer::ModelTypePayloadMap>
payload_details(details);
- syncable::ModelTypePayloadMap payload_map = *(payload_details.ptr());
+ syncer::ModelTypePayloadMap payload_map = *(payload_details.ptr());
if (payload_map.empty()) {
// No model types to invalidate, invalidating all enabled types.
payload_map =
- syncable::ModelTypePayloadMapFromEnumSet(enabled_types_, std::string());
+ syncer::ModelTypePayloadMapFromEnumSet(enabled_types_, std::string());
}
observers_->Notify(

Powered by Google App Engine
This is Rietveld 408576698