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

Unified Diff: chrome/browser/sync/syncable/syncable_id.h

Issue 2844037: Fix handling of undeletion within the syncer. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Whitespace. Created 10 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
« no previous file with comments | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/browser/sync/syncable/syncable_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable_id.h
diff --git a/chrome/browser/sync/syncable/syncable_id.h b/chrome/browser/sync/syncable/syncable_id.h
index 73e26c25adb1827c400073d12b6735b90159a3b5..ed8a2e565aba0ce384968bee6c66a5eefe12507b 100644
--- a/chrome/browser/sync/syncable/syncable_id.h
+++ b/chrome/browser/sync/syncable/syncable_id.h
@@ -84,7 +84,6 @@ class Id {
inline void Clear() {
s_ = "r";
}
- std::string AsQueryParam() const;
// Must never allow id == 0 or id < 0 to compile.
inline bool operator == (const Id& that) const {
return s_ == that.s_;
@@ -99,13 +98,13 @@ class Id {
return s_ > that.s_;
}
- public:
- // Three functions used to work with our proto buffers.
+ // Three functions are used to work with our proto buffers.
std::string GetServerId() const;
static Id CreateFromServerId(const std::string& server_id);
// This should only be used if you get back a reference to a local
// id from the server. Returns a client only opaque id.
static Id CreateFromClientString(const std::string& local_id);
+
protected:
std::string s_;
};
« no previous file with comments | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/browser/sync/syncable/syncable_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698