blob: 2f2c422471078af1fb1f9f86a25570b4fcd5fb5c [file] [log] [blame]
// Copyright 2012 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.
#ifndef COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_
#define COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_
#include <stdint.h>
namespace syncer {
// Constants used by SyncScheduler when polling servers for updates.
extern const int64_t kDefaultShortPollIntervalSeconds;
extern const int64_t kDefaultLongPollIntervalSeconds;
extern const int64_t kMaxBackoffSeconds;
extern const int kBackoffRandomizationFactor;
extern const int kInitialBackoffRetrySeconds;
extern const int kInitialBackoffShortRetrySeconds;
extern const int kInitialBackoffImmediateRetrySeconds;
} // namespace syncer
#endif // COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_