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

Unified Diff: sync/syncable/directory.h

Issue 10701085: Revert "Revert 142517 - [Sync] Refactor sync configuration logic." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test Created 8 years, 5 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 b35cdc254899ebcfb12bcbacd8c98f6f6a5d1870..18bc93550a34957e4be06dcef798272f02c36243 100644
--- a/sync/syncable/directory.h
+++ b/sync/syncable/directory.h
@@ -422,7 +422,8 @@ class Directory {
// entries, which means something different in the syncable namespace.
// WARNING! This can be real slow, as it iterates over all entries.
// WARNING! Performs synchronous I/O.
- virtual void PurgeEntriesWithTypeIn(ModelTypeSet types);
+ // Returns: true on success, false if an error was encountered.
+ virtual bool PurgeEntriesWithTypeIn(ModelTypeSet types);
private:
// A helper that implements the logic of checking tree invariants.

Powered by Google App Engine
This is Rietveld 408576698