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

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

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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
Index: sync/internal_api/public/base_node.h
diff --git a/sync/internal_api/public/base_node.h b/sync/internal_api/public/base_node.h
index 8d660161423cde6a097ead76f9dd30dd9ba5b0bd..2cfe2215bb3378108e58dd8457e291763c3d2735 100644
--- a/sync/internal_api/public/base_node.h
+++ b/sync/internal_api/public/base_node.h
@@ -78,7 +78,7 @@ class BaseNode {
// by doing a client tag lookup. Returns false on failure. A deleted node
// will return FALSE.
virtual InitByLookupResult InitByClientTagLookup(
- syncer::ModelType model_type,
+ ModelType model_type,
const std::string& tag) = 0;
// Each object is identified by a 64-bit id (internally, the syncable
@@ -106,7 +106,7 @@ class BaseNode {
// Returns the model type of this object. The model type is set at node
// creation time and is expected never to change.
- syncer::ModelType GetModelType() const;
+ ModelType GetModelType() const;
// Getter specific to the BOOKMARK datatype. Returns protobuf
// data. Can only be called if GetModelType() == BOOKMARK.
@@ -202,7 +202,7 @@ class BaseNode {
virtual ~BaseNode();
// The server has a size limit on client tags, so we generate a fixed length
// hash locally. This also ensures that ModelTypes have unique namespaces.
- static std::string GenerateSyncableHash(syncer::ModelType model_type,
+ static std::string GenerateSyncableHash(ModelType model_type,
Nicolas Zea 2012/07/19 19:37:56 nit: move first arg to newline
akalin 2012/07/19 20:56:02 Done.
const std::string& client_tag);
// Determines whether part of the entry is encrypted, and if so attempts to

Powered by Google App Engine
This is Rietveld 408576698