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

Unified Diff: components/sync/engine_impl/backoff_delay_provider.cc

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 4 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: components/sync/engine_impl/backoff_delay_provider.cc
diff --git a/components/sync/engine_impl/backoff_delay_provider.cc b/components/sync/engine_impl/backoff_delay_provider.cc
index fee7c99fb6431e3ec7f99e1d77b0aab07300e86a..6bd6e69e8d971f4ba93af7f8dee5f0da803e6d7a 100644
--- a/components/sync/engine_impl/backoff_delay_provider.cc
+++ b/components/sync/engine_impl/backoff_delay_provider.cc
@@ -10,8 +10,8 @@
#include "base/rand_util.h"
#include "components/sync/base/syncer_error.h"
+#include "components/sync/engine/cycle/model_neutral_state.h"
#include "components/sync/engine/polling_constants.h"
-#include "components/sync/sessions/model_neutral_state.h"
using base::TimeDelta;
@@ -64,7 +64,7 @@ TimeDelta BackoffDelayProvider::GetDelay(const base::TimeDelta& last_delay) {
}
TimeDelta BackoffDelayProvider::GetInitialDelay(
- const sessions::ModelNeutralState& state) const {
+ const ModelNeutralState& state) const {
// NETWORK_CONNECTION_UNAVAILABLE implies we did not receive HTTP response
// from server because of some network error. If network is unavailable then
// on next connection type or address change scheduler will run canary job.
« no previous file with comments | « components/sync/engine_impl/backoff_delay_provider.h ('k') | components/sync/engine_impl/backoff_delay_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698