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

Unified Diff: sync/syncable/syncable_id.h

Issue 10989063: Changed DB to store node positions as Ordinals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added SetUpVersion81Database() fn. Created 8 years, 2 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/syncable/syncable_id.h
diff --git a/sync/syncable/syncable_id.h b/sync/syncable/syncable_id.h
index 95157ab1213ce972eb4e5b623386f5a565b8562f..64fc7f695fe3ec3ec884e25fa6c54e8a1b2523f9 100644
--- a/sync/syncable/syncable_id.h
+++ b/sync/syncable/syncable_id.h
@@ -10,6 +10,7 @@
#include <sstream>
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "base/hash_tables.h"
class MockConnectionManager;
@@ -111,7 +112,7 @@ class Id {
static Id GetLeastIdForLexicographicComparison();
private:
- friend EntryKernel* UnpackEntry(sql::Statement* statement);
+ friend scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement);
friend void BindFields(const EntryKernel& entry,
sql::Statement* statement);
friend std::ostream& operator<<(std::ostream& out, const Id& id);

Powered by Google App Engine
This is Rietveld 408576698