OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 // | |
5 // Constants used by SyncerThread when polling servers for updates. | |
6 | |
7 #ifndef CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ | |
8 #define CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ | |
9 #pragma once | |
10 | |
11 namespace browser_sync { | |
12 | |
13 extern const int64 kDefaultShortPollIntervalSeconds; | |
14 extern const int64 kDefaultLongPollIntervalSeconds; | |
15 extern const int64 kMaxBackoffSeconds; | |
16 extern const int kBackoffRandomizationFactor; | |
17 | |
18 } // namespace browser_sync | |
19 | |
20 #endif // CHROME_BROWSER_SYNC_ENGINE_POLLING_CONSTANTS_H_ | |
OLD | NEW |