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

Unified Diff: sync/syncable/directory.h

Issue 72403003: sync: Per-type update application (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 7a58dfc21c77aa2e82297253b4b71bf522514d8a..1e433afea38f48ec65bd5430657029d874a43057 100644
--- a/sync/syncable/directory.h
+++ b/sync/syncable/directory.h
@@ -315,11 +315,8 @@ class SYNC_EXPORT Directory {
void GetUnsyncedMetaHandles(BaseTransaction* trans,
Metahandles* result);
- // Returns all server types with unapplied updates. A subset of
- // those types can then be passed into
- // GetUnappliedUpdateMetaHandles() below.
- FullModelTypeSet GetServerTypesWithUnappliedUpdates(
- BaseTransaction* trans) const;
+ // Returns whether or not this type has unapplied updates.
Nicolas Zea 2013/11/19 22:45:26 nit: this type -> |type|
rlarocque 2013/11/21 18:28:47 Done.
+ bool TypeHasUnappliedUpdates(ModelType type);
// Get all the metahandles for unapplied updates for a given set of
// server types.

Powered by Google App Engine
This is Rietveld 408576698