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

Unified Diff: chrome/browser/sync/engine/all_status.h

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
« no previous file with comments | « no previous file | chrome/browser/sync/engine/all_status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/all_status.h
diff --git a/chrome/browser/sync/engine/all_status.h b/chrome/browser/sync/engine/all_status.h
index a9f618dc2bce9e0f5f83d5eebb443c6a19280f7f..3989143b30441f4f7a9cb10a59cf51522216ec33 100644
--- a/chrome/browser/sync/engine/all_status.h
+++ b/chrome/browser/sync/engine/all_status.h
@@ -87,9 +87,6 @@ class AllStatus : public ChannelEventHandler<SyncerEvent> {
int64 updates_received;
};
- // Maximum interval for exponential backoff.
- static const int kMaxBackoffSeconds;
-
AllStatus();
~AllStatus();
@@ -109,12 +106,6 @@ class AllStatus : public ChannelEventHandler<SyncerEvent> {
Status status() const;
- // DDOS avoidance function. The argument and return value is in seconds
- static int GetRecommendedDelaySeconds(int base_delay_seconds);
-
- // This uses AllStatus' max_consecutive_errors as the error count
- int GetRecommendedDelay(int base_delay) const;
-
void SetNotificationsEnabled(bool notifications_enabled);
void IncrementNotificationsSent();
« no previous file with comments | « no previous file | chrome/browser/sync/engine/all_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698