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

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: 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
Index: sync/syncable/directory.h
diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
index fc0d510376fe9bed14f46289ee7bbc9c32d7b97b..e0b2e60192c6ee18f0eb61227244e54049d5375d 100644
--- a/sync/syncable/directory.h
+++ b/sync/syncable/directory.h
@@ -199,10 +199,12 @@ 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;
+
+ size_t GetEntriesCount() const;
// Gets/Increments transaction version of a model type. Must be called when
// holding kernel mutex.

Powered by Google App Engine
This is Rietveld 408576698