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

Unified Diff: sync/notifier/invalidation_util.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
« no previous file with comments | « sync/notifier/invalidation_util.h ('k') | sync/notifier/mock_sync_notifier_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidation_util.cc
diff --git a/sync/notifier/invalidation_util.cc b/sync/notifier/invalidation_util.cc
index 0973b7d5579dae427b01d160ec0a21b61a18e73b..5574a8c60ce531be47546db2496c1169b53d1462 100644
--- a/sync/notifier/invalidation_util.cc
+++ b/sync/notifier/invalidation_util.cc
@@ -17,10 +17,10 @@ bool ObjectIdLessThan::operator()(const invalidation::ObjectId& lhs,
(lhs.source() == rhs.source() && lhs.name() < rhs.name());
}
-bool RealModelTypeToObjectId(syncable::ModelType model_type,
+bool RealModelTypeToObjectId(syncer::ModelType model_type,
invalidation::ObjectId* object_id) {
std::string notification_type;
- if (!syncable::RealModelTypeToNotificationType(
+ if (!syncer::RealModelTypeToNotificationType(
model_type, &notification_type)) {
return false;
}
@@ -30,9 +30,9 @@ bool RealModelTypeToObjectId(syncable::ModelType model_type,
}
bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
- syncable::ModelType* model_type) {
+ syncer::ModelType* model_type) {
return
- syncable::NotificationTypeToRealModelType(
+ syncer::NotificationTypeToRealModelType(
object_id.name(), model_type);
}
« no previous file with comments | « sync/notifier/invalidation_util.h ('k') | sync/notifier/mock_sync_notifier_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698