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