Index: chrome/browser/sync/engine/polling_constants.h |
diff --git a/chrome/browser/sync/engine/polling_constants.h b/chrome/browser/sync/engine/polling_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a99fcfd481dedee35fe4f8245e5a96c49e5d91eb |
--- /dev/null |
+++ b/chrome/browser/sync/engine/polling_constants.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// Constants used by SyncerThread when polling servers for updates. |
+ |
+#ifndef CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ |
+#define CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ |
+#pragma once |
+ |
+namespace browser_sync { |
Nicolas Zea
2011/01/20 20:01:57
extra newline after namespace? (or remove the newl
tim (not reviewing)
2011/01/25 03:23:05
Done. Also decreased indent.
|
+ extern const int64 kDefaultShortPollIntervalSeconds; |
+ extern const int64 kDefaultLongPollIntervalSeconds; |
+ extern const int64 kMaxBackoffSeconds; |
+ extern const int kBackoffRandomizationFactor; |
+ |
+} // namespace browser_sync |
+ |
+#endif // CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ |
Nicolas Zea
2011/01/20 20:01:57
newline at end of file?
tim (not reviewing)
2011/01/25 03:23:05
Done.
|