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

Unified Diff: sync/syncable/directory.cc

Issue 1142423006: Sync: fixed Implicit Permanent Folders issues found when testing with alpha server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bumped protocol version Created 5 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
« no previous file with comments | « sync/protocol/sync.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/directory.cc
diff --git a/sync/syncable/directory.cc b/sync/syncable/directory.cc
index 3016cc2b107a327fbc43c0d68a6cadb2dde36943..2fbceec3729d9f3fd4b23369275662ab658210ef 100644
--- a/sync/syncable/directory.cc
+++ b/sync/syncable/directory.cc
@@ -985,9 +985,9 @@ bool Directory::InitialSyncEndedForType(ModelType type) {
bool Directory::InitialSyncEndedForType(
BaseTransaction* trans, ModelType type) {
- // True iff the type's root node has been received and applied.
+ // True iff the type's root node has been created.
syncable::Entry entry(trans, syncable::GET_TYPE_ROOT, type);
- return entry.good() && entry.GetBaseVersion() != CHANGES_VERSION;
+ return entry.good();
}
string Directory::store_birthday() const {
« no previous file with comments | « sync/protocol/sync.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698