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

Unified Diff: sync/engine/non_blocking_sync_common.h

Issue 299963002: sync: Implement NonBlockingTypeProcessorCore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/engine/non_blocking_sync_common.h
diff --git a/sync/engine/non_blocking_sync_common.h b/sync/engine/non_blocking_sync_common.h
index f07fdb2684e2c2239bc9f838456e06242bd8234f..3f59b1abc8b2d4b0e0f01c80349ae80345630f96 100644
--- a/sync/engine/non_blocking_sync_common.h
+++ b/sync/engine/non_blocking_sync_common.h
@@ -14,6 +14,8 @@
namespace syncer {
+static const int64 kUncommittedVersion = -1;
Nicolas Zea 2014/05/28 23:56:15 Any reason this was changed from 0 to -1?
rlarocque 2014/05/29 20:54:52 -1 is what the current sync engine uses.
+
// Data-type global state that must be accessed and updated on the sync thread,
// but persisted on or through the model thread.
struct SYNC_EXPORT_PRIVATE DataTypeState {

Powered by Google App Engine
This is Rietveld 408576698