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

Unified Diff: sync/engine/directory_update_handler.h

Issue 1393633003: Sync: fix for the code that checks whether the initial download has completed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed control data types and added unit tests Created 5 years, 2 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/directory_update_handler.h
diff --git a/sync/engine/directory_update_handler.h b/sync/engine/directory_update_handler.h
index 246d412a87d274f12487b9ff89da2168284dda57..df94f3413ad644d004c7eee93baaaef7542b4e35 100644
--- a/sync/engine/directory_update_handler.h
+++ b/sync/engine/directory_update_handler.h
@@ -68,6 +68,11 @@ class SYNC_EXPORT_PRIVATE DirectoryUpdateHandler : public UpdateHandler {
// Sometimes there is nothing to do, so we can return without doing anything.
bool IsApplyUpdatesRequired();
+ // Called at the end of ApplyUpdates and PassiveApplyUpdates and performs
+ // steps common to both (even when IsApplyUpdatesRequired has returned
+ // false).
+ void PostApplyUpdates();
+
// Processes the given SyncEntities and stores their data in the directory.
// Their types must match this update handler's type.
void UpdateSyncEntities(

Powered by Google App Engine
This is Rietveld 408576698