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

Unified Diff: sync/notifier/invalidation_util.cc

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent 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
« 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 5574a8c60ce531be47546db2496c1169b53d1462..0065b50e2b99d1a990eb042d588b84c1e7726806 100644
--- a/sync/notifier/invalidation_util.cc
+++ b/sync/notifier/invalidation_util.cc
@@ -17,11 +17,10 @@ bool ObjectIdLessThan::operator()(const invalidation::ObjectId& lhs,
(lhs.source() == rhs.source() && lhs.name() < rhs.name());
}
-bool RealModelTypeToObjectId(syncer::ModelType model_type,
+bool RealModelTypeToObjectId(ModelType model_type,
invalidation::ObjectId* object_id) {
std::string notification_type;
- if (!syncer::RealModelTypeToNotificationType(
- model_type, &notification_type)) {
+ if (!RealModelTypeToNotificationType(model_type, &notification_type)) {
return false;
}
object_id->Init(ipc::invalidation::ObjectSource::CHROME_SYNC,
@@ -30,10 +29,8 @@ bool RealModelTypeToObjectId(syncer::ModelType model_type,
}
bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
- syncer::ModelType* model_type) {
- return
- syncer::NotificationTypeToRealModelType(
- object_id.name(), model_type);
+ ModelType* model_type) {
+ return NotificationTypeToRealModelType(object_id.name(), model_type);
}
std::string ObjectIdToString(
« 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