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

Unified Diff: components/sync/engine/engine_components_factory.h

Issue 2494873003: [Sync] Allow sync start without sign-in if the local sync backend is on. (Closed)
Patch Set: Rebased on ToT. Created 4 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: components/sync/engine/engine_components_factory.h
diff --git a/components/sync/engine/engine_components_factory.h b/components/sync/engine/engine_components_factory.h
index fb80d0317af0b7521ebd708535dda8ecc6f4e2e7..f647907131e0c1d2cfef4f23ab4a057dba75891b 100644
--- a/components/sync/engine/engine_components_factory.h
+++ b/components/sync/engine/engine_components_factory.h
@@ -90,7 +90,8 @@ class EngineComponentsFactory {
virtual std::unique_ptr<SyncScheduler> BuildScheduler(
const std::string& name,
SyncCycleContext* context,
- CancelationSignal* cancelation_signal) = 0;
+ CancelationSignal* cancelation_signal,
+ bool local_sync_backend_enabled) = 0;
virtual std::unique_ptr<SyncCycleContext> BuildContext(
ServerConnectionManager* connection_manager,

Powered by Google App Engine
This is Rietveld 408576698