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

Unified Diff: sync/syncable/directory.h

Issue 867793003: Remove dependency on server generated type root folders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added extra comment about existing type root folder. Created 5 years, 11 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') | sync/syncable/directory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/directory.h
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
index fc0d510376fe9bed14f46289ee7bbc9c32d7b97b..98706b61cece207234d38f593d30ca6921a01394 100644
--- a/sync/syncable/directory.h
+++ b/sync/syncable/directory.h
@@ -199,10 +199,13 @@ class SYNC_EXPORT Directory {
void GetDownloadProgressAsString(
ModelType type,
std::string* value_out) const;
- size_t GetEntriesCount() const;
void SetDownloadProgress(
ModelType type,
const sync_pb::DataTypeProgressMarker& value);
+ bool HasEmptyDownloadProgress(ModelType type) const;
+
+ // Gets the total number of entries in the directory.
+ size_t GetEntriesCount() const;
// Gets/Increments transaction version of a model type. Must be called when
// holding kernel mutex.
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/syncable/directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698