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

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

Issue 7605021: Make the throttle delay configurable by the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 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/syncer_proto_util.h
diff --git a/chrome/browser/sync/engine/syncer_proto_util.h b/chrome/browser/sync/engine/syncer_proto_util.h
index d55e27718aea3a2feaf55bc3084933a67a0219b8..66251f054986ba7073b24089740d1e1cb6e2e07d 100644
--- a/chrome/browser/sync/engine/syncer_proto_util.h
+++ b/chrome/browser/sync/engine/syncer_proto_util.h
@@ -115,6 +115,8 @@ class SyncerProtoUtil {
const ClientToServerMessage& msg,
sync_pb::ClientToServerResponse* response);
+ static int GetThrottleDelay(const sync_pb::ClientToServerResponse& response);
akalin 2011/08/10 01:24:36 change to return TimeDelta
lipalani1 2011/08/10 19:04:05 Done.
+
friend class SyncerProtoUtilTest;
FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, AddRequestBirthday);
FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, PostAndProcessHeaders);
« no previous file with comments | « no previous file | chrome/browser/sync/engine/syncer_proto_util.cc » ('j') | chrome/browser/sync/engine/syncer_proto_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698