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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 8786014: [Sync] Convert sessions/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 9 years 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: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 7883228d66273b08982c26da8796048c1cfe2f72..3d4be779d4cfea3f7b58ad33a4b4824830d3e847 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -196,7 +196,7 @@ class SyncBackendHost {
const syncable::ModelTypeSet& types_to_add,
const syncable::ModelTypeSet& types_to_remove,
sync_api::ConfigureReason reason,
- base::Callback<void(const syncable::ModelTypeSet&)> ready_task,
+ base::Callback<void(syncable::ModelEnumSet)> ready_task,
bool enable_nigori);
// Makes an asynchronous call to syncer to switch to config mode. When done
@@ -417,7 +417,7 @@ class SyncBackendHost {
// part of the initialization process.
void HandleNigoriConfigurationCompletedOnFrontendLoop(
const WeakHandle<JsBackend>& js_backend,
- const syncable::ModelTypeSet& failed_configuration_types);
+ syncable::ModelEnumSet failed_configuration_types);
private:
friend class base::RefCountedThreadSafe<SyncBackendHost::Core>;
@@ -546,7 +546,7 @@ class SyncBackendHost {
// The ready_task will be run when configuration is done with the
// set of all types that failed configuration (i.e., if its
// argument is non-empty, then an error was encountered).
- base::Callback<void(const syncable::ModelTypeSet&)> ready_task;
+ base::Callback<void(syncable::ModelEnumSet)> ready_task;
// The set of types that we are waiting to be initially synced in a
// configuration cycle.
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_impl_unittest.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698