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

Unified Diff: chrome/browser/sync/engine/syncapi.cc

Issue 3078022: Unplumb AllStatus from SyncerThread. (Closed)
Patch Set: parens Created 10 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: chrome/browser/sync/engine/syncapi.cc
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc
index a895e73695e49b0726ea08a8ae588870facf4a7b..ac724c69e0570176c0ce9f6e11d568c0f5917af2 100644
--- a/chrome/browser/sync/engine/syncapi.cc
+++ b/chrome/browser/sync/engine/syncapi.cc
@@ -848,7 +848,7 @@ class BridgedGaiaAuthenticator : public gaia::GaiaAuthenticator {
}
virtual int GetBackoffDelaySeconds(int current_backoff_delay) {
- return AllStatus::GetRecommendedDelaySeconds(current_backoff_delay);
+ return SyncerThread::GetRecommendedDelaySeconds(current_backoff_delay);
}
private:
const std::string gaia_source_;
@@ -1374,7 +1374,7 @@ bool SyncManager::SyncInternal::Init(
dir_manager(), model_safe_worker_registrar);
// The SyncerThread takes ownership of |context|.
- syncer_thread_ = new SyncerThread(context, &allstatus_);
+ syncer_thread_ = new SyncerThread(context);
allstatus_.WatchSyncerThread(syncer_thread());
// Subscribe to the syncer thread's channel.
« no previous file with comments | « chrome/browser/sync/engine/auth_watcher_unittest.cc ('k') | chrome/browser/sync/engine/syncer_end_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698