summaryrefslogtreecommitdiffstats
path: root/sync/api/fake_syncable_service.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 23:41:32 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 23:41:32 +0000
commita4a1476522880f416690e9357eedaa40b5ac8a99 (patch)
treebc2a8cc0a4942e16094f9a07859508583b03e169 /sync/api/fake_syncable_service.cc
parentdade34b60910f213ae8f8fdd13709ec17581ef9e (diff)
downloadchromium_src-a4a1476522880f416690e9357eedaa40b5ac8a99.zip
chromium_src-a4a1476522880f416690e9357eedaa40b5ac8a99.tar.gz
chromium_src-a4a1476522880f416690e9357eedaa40b5ac8a99.tar.bz2
[Sync] Move ModelType and related classes to 'syncer' namespace
Previously they were in 'syncer::syncable'. Also remove aliases to those classes from 'syncable'. BUG=128060 TEST= TBR=pkasting@chromium.org,jhawkins@chromium.org, Review URL: https://chromiumcodereview.appspot.com/10696087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/api/fake_syncable_service.cc')
-rw-r--r--sync/api/fake_syncable_service.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sync/api/fake_syncable_service.cc b/sync/api/fake_syncable_service.cc
index b0ec323..078201b 100644
--- a/sync/api/fake_syncable_service.cc
+++ b/sync/api/fake_syncable_service.cc
@@ -11,7 +11,7 @@ namespace syncer {
FakeSyncableService::FakeSyncableService()
: syncing_(false),
- type_(syncable::UNSPECIFIED) {}
+ type_(syncer::UNSPECIFIED) {}
FakeSyncableService::~FakeSyncableService() {}
@@ -31,7 +31,7 @@ bool FakeSyncableService::syncing() const {
// SyncableService implementation.
SyncError FakeSyncableService::MergeDataAndStartSyncing(
- syncable::ModelType type,
+ syncer::ModelType type,
const SyncDataList& initial_sync_data,
scoped_ptr<SyncChangeProcessor> sync_processor,
scoped_ptr<SyncErrorFactory> sync_error_factory) {
@@ -43,13 +43,13 @@ SyncError FakeSyncableService::MergeDataAndStartSyncing(
return merge_data_and_start_syncing_error_;
}
-void FakeSyncableService::StopSyncing(syncable::ModelType type) {
+void FakeSyncableService::StopSyncing(syncer::ModelType type) {
syncing_ = false;
sync_processor_.reset();
}
SyncDataList FakeSyncableService::GetAllSyncData(
- syncable::ModelType type) const {
+ syncer::ModelType type) const {
return SyncDataList();
}