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

Unified Diff: sync/tools/sync_client.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/test/engine/syncer_command_test.h ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 8d98646f66cf624a38b00a2970146aa333f13554..d9fd4c5f7312be493511a7cee750aa75619bf2b6 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -155,11 +155,11 @@ class LoggingChangeDelegate : public syncer::SyncManager::ChangeDelegate {
virtual ~LoggingChangeDelegate() {}
virtual void OnChangesApplied(
- syncable::ModelType model_type,
+ syncer::ModelType model_type,
const syncer::BaseTransaction* trans,
const syncer::ImmutableChangeRecordList& changes) OVERRIDE {
LOG(INFO) << "Changes applied for "
- << syncable::ModelTypeToString(model_type);
+ << syncer::ModelTypeToString(model_type);
size_t i = 1;
size_t change_count = changes.Get().size();
for (syncer::ChangeRecordList::const_iterator it =
@@ -177,9 +177,9 @@ class LoggingChangeDelegate : public syncer::SyncManager::ChangeDelegate {
}
}
- virtual void OnChangesComplete(syncable::ModelType model_type) OVERRIDE {
+ virtual void OnChangesComplete(syncer::ModelType model_type) OVERRIDE {
LOG(INFO) << "Changes complete for "
- << syncable::ModelTypeToString(model_type);
+ << syncer::ModelTypeToString(model_type);
}
};
@@ -314,9 +314,9 @@ int main(int argc, char* argv[]) {
CHECK(database_dir.CreateUniqueTempDir());
// Set up model type parameters.
- const syncable::ModelTypeSet model_types = syncable::ModelTypeSet::All();
+ const syncer::ModelTypeSet model_types = syncer::ModelTypeSet::All();
syncer::ModelSafeRoutingInfo routing_info;
- for (syncable::ModelTypeSet::Iterator it = model_types.First();
+ for (syncer::ModelTypeSet::Iterator it = model_types.First();
it.Good(); it.Inc()) {
routing_info[it.Get()] = syncer::GROUP_PASSIVE;
}
« no previous file with comments | « sync/test/engine/syncer_command_test.h ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698