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

Unified Diff: sync/engine/directory_update_handler.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 ScopedKernelLock to Directory::HasEmptyDownloadProgress 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 | « no previous file | sync/engine/directory_update_handler.cc » ('j') | sync/engine/directory_update_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/directory_update_handler.h
diff --git a/sync/engine/directory_update_handler.h b/sync/engine/directory_update_handler.h
index 230fbc3fbe05d58a201b6de63d29709a369b347f..246d412a87d274f12487b9ff89da2168284dda57 100644
--- a/sync/engine/directory_update_handler.h
+++ b/sync/engine/directory_update_handler.h
@@ -91,6 +91,9 @@ class SYNC_EXPORT_PRIVATE DirectoryUpdateHandler : public UpdateHandler {
// Skips all checks and goes straight to applying the updates.
SyncerError ApplyUpdatesImpl(sessions::StatusController* status);
+ // Creates root node for the handled model type.
+ void CreateTypeRoot(syncable::ModelNeutralWriteTransaction* trans);
+
syncable::Directory* dir_;
ModelType type_;
scoped_refptr<ModelSafeWorker> worker_;
« no previous file with comments | « no previous file | sync/engine/directory_update_handler.cc » ('j') | sync/engine/directory_update_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698