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

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

Issue 2479313004: [sync] "TwoClientBookmarksSyncTest.Sanity" is flaky (Closed)
Patch Set: addressed comments 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 175af5cf37af4426b50ed405153a02befd3cf576..fb80d0317af0b7521ebd708535dda8ecc6f4e2e7 100644
--- a/components/sync/engine/engine_components_factory.h
+++ b/components/sync/engine/engine_components_factory.h
@@ -56,6 +56,11 @@ class EngineComponentsFactory {
FORCE_ENABLE_PRE_COMMIT_UPDATE_AVOIDANCE,
};
+ enum class NudgeDelay {
+ DEFAULT_NUDGE_DELAY,
+ SHORT_NUDGE_DELAY,
+ };
+
// Configuration options for internal components. This struct is expected
// to grow and shrink over time with transient features / experiments,
// roughly following command line flags in chrome. Implementations of
@@ -64,6 +69,7 @@ class EngineComponentsFactory {
struct Switches {
EncryptionMethod encryption_method;
BackoffOverride backoff_override;
+ NudgeDelay nudge_delay;
PreCommitUpdatesPolicy pre_commit_updates_policy;
};
« no previous file with comments | « components/sync/driver/sync_driver_switches.cc ('k') | components/sync/engine/engine_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698