summaryrefslogtreecommitdiffstats
path: root/sync/api
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 01:30:56 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 01:30:56 +0000
commit002d391999fbbd290c9189056cd6262f827b825a (patch)
treebc400541b7c8e1b5833748f454b35f78e0f7ce9d /sync/api
parent2f30fff337549f07694b3ed02267f5f747a587aa (diff)
downloadchromium_src-002d391999fbbd290c9189056cd6262f827b825a.zip
chromium_src-002d391999fbbd290c9189056cd6262f827b825a.tar.gz
chromium_src-002d391999fbbd290c9189056cd6262f827b825a.tar.bz2
[Sync] Move model_type* from syncable/ to base/
Also move enum_set* to base/. This is the first step in moving ModelType et al. to the syncer namespace (from syncer::syncable). Move PurgeStalePayload() back to sync_session.cc. Move ModelTypePayloadMapFromRoutingInfo() to model_safe_worker.* and rename it to ModelSafeRoutingInfoToPayloadMap(). BUG=128060 TEST= Review URL: https://chromiumcodereview.appspot.com/10690071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/api')
-rw-r--r--sync/api/sync_data.cc2
-rw-r--r--sync/api/sync_data.h2
-rw-r--r--sync/api/sync_error.cc2
-rw-r--r--sync/api/sync_error.h2
-rw-r--r--sync/api/syncable_service.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/sync/api/sync_data.cc b/sync/api/sync_data.cc
index 078d6e6..13c47c2 100644
--- a/sync/api/sync_data.cc
+++ b/sync/api/sync_data.cc
@@ -10,8 +10,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/string_number_conversions.h"
#include "base/values.h"
+#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/base_node.h"
-#include "sync/internal_api/public/syncable/model_type.h"
#include "sync/protocol/proto_value_conversions.h"
#include "sync/protocol/sync.pb.h"
diff --git a/sync/api/sync_data.h b/sync/api/sync_data.h
index ffe5825..cabeab9 100644
--- a/sync/api/sync_data.h
+++ b/sync/api/sync_data.h
@@ -11,7 +11,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "sync/internal_api/public/syncable/model_type.h"
+#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/util/immutable.h"
namespace sync_pb {
diff --git a/sync/api/sync_error.cc b/sync/api/sync_error.cc
index aef1ede..be2a457 100644
--- a/sync/api/sync_error.cc
+++ b/sync/api/sync_error.cc
@@ -8,7 +8,7 @@
#include "base/location.h"
#include "base/logging.h"
-#include "sync/internal_api/public/syncable/model_type.h"
+#include "sync/internal_api/public/base/model_type.h"
namespace syncer {
diff --git a/sync/api/sync_error.h b/sync/api/sync_error.h
index 7e24676..0e3a3c9 100644
--- a/sync/api/sync_error.h
+++ b/sync/api/sync_error.h
@@ -10,7 +10,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
-#include "sync/internal_api/public/syncable/model_type.h"
+#include "sync/internal_api/public/base/model_type.h"
namespace tracked_objects {
class Location;
diff --git a/sync/api/syncable_service.h b/sync/api/syncable_service.h
index 53e2cd5..2093047b 100644
--- a/sync/api/syncable_service.h
+++ b/sync/api/syncable_service.h
@@ -14,7 +14,7 @@
#include "sync/api/sync_change_processor.h"
#include "sync/api/sync_data.h"
#include "sync/api/sync_error.h"
-#include "sync/internal_api/public/syncable/model_type.h"
+#include "sync/internal_api/public/base/model_type.h"
namespace syncer {