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

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: Fixed memory leak error in unittest 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
« no previous file with comments | « sync/syncable/syncable_enum_conversions_unittest.cc ('k') | sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « sync/syncable/syncable_enum_conversions_unittest.cc ('k') | sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698