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.
6
7#ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
8#define SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
9
10#include "sync/base/sync_export.h"
11
12namespace syncer {
13
14SYNC_EXPORT_PRIVATE extern const int64 kDefaultShortPollIntervalSeconds;
15SYNC_EXPORT_PRIVATE extern const int64 kDefaultLongPollIntervalSeconds;
16SYNC_EXPORT extern const int64 kMaxBackoffSeconds;
17SYNC_EXPORT extern const int kBackoffRandomizationFactor;
18SYNC_EXPORT_PRIVATE extern const int kInitialBackoffRetrySeconds;
19SYNC_EXPORT_PRIVATE extern const int kInitialBackoffShortRetrySeconds;
20SYNC_EXPORT_PRIVATE extern const int kInitialBackoffImmediateRetrySeconds;
21
22
23}  // namespace syncer
24
25#endif  // SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
26