Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / sync / internal_api / public / engine / polling_constants.h
blob8f4f100b0ae67e9336c35af82a96293bdccfc772
1 // Copyright 2012 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 SyncScheduler when polling servers for updates.
7 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
8 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
10 #include "sync/base/sync_export.h"
12 namespace syncer {
14 SYNC_EXPORT_PRIVATE extern const int64 kDefaultShortPollIntervalSeconds;
15 SYNC_EXPORT_PRIVATE extern const int64 kDefaultLongPollIntervalSeconds;
16 SYNC_EXPORT extern const int64 kMaxBackoffSeconds;
17 SYNC_EXPORT extern const int kBackoffRandomizationFactor;
18 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffRetrySeconds;
19 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffShortRetrySeconds;
20 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffImmediateRetrySeconds;
23 } // namespace syncer
25 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_