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

Unified Diff: sync/internal_api/public/write_node.h

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/internal_api/public/test/test_entry_factory.h ('k') | sync/internal_api/read_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/write_node.h
diff --git a/sync/internal_api/public/write_node.h b/sync/internal_api/public/write_node.h
index 29182de8b0a61613edbd6f3a97aa96c108520aa0..2965741b78e5e4bbbb0ce98bc84a4a5b28ebc1af 100644
--- a/sync/internal_api/public/write_node.h
+++ b/sync/internal_api/public/write_node.h
@@ -65,7 +65,7 @@ class WriteNode : public BaseNode {
// BaseNode implementation.
virtual InitByLookupResult InitByIdLookup(int64 id) OVERRIDE;
virtual InitByLookupResult InitByClientTagLookup(
- syncable::ModelType model_type,
+ syncer::ModelType model_type,
const std::string& tag) OVERRIDE;
// Create a new node with the specified parent and predecessor. |model_type|
@@ -74,7 +74,7 @@ class WriteNode : public BaseNode {
// to indicate that this is to be the first child.
// |predecessor| must be a child of |new_parent| or NULL. Returns false on
// failure.
- bool InitByCreation(syncable::ModelType model_type,
+ bool InitByCreation(syncer::ModelType model_type,
const BaseNode& parent,
const BaseNode* predecessor);
@@ -85,7 +85,7 @@ class WriteNode : public BaseNode {
// actually undelete it
// Client unique tagged nodes must NOT be folders.
InitUniqueByCreationResult InitUniqueByCreation(
- syncable::ModelType model_type,
+ syncer::ModelType model_type,
const BaseNode& parent,
const std::string& client_tag);
@@ -178,7 +178,7 @@ class WriteNode : public BaseNode {
void* operator new(size_t size); // Node is meant for stack use only.
// Helper to set model type. This will clear any specifics data.
- void PutModelType(syncable::ModelType model_type);
+ void PutModelType(syncer::ModelType model_type);
// Helper to set the previous node.
bool PutPredecessor(const BaseNode* predecessor) WARN_UNUSED_RESULT;
« no previous file with comments | « sync/internal_api/public/test/test_entry_factory.h ('k') | sync/internal_api/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698