Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: components/sync/engine/polling_constants.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_
8 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_ 8 #define COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include "sync/base/sync_export.h" 12 #include "components/sync/base/sync_export.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
16 SYNC_EXPORT extern const int64_t kDefaultShortPollIntervalSeconds; 16 SYNC_EXPORT extern const int64_t kDefaultShortPollIntervalSeconds;
17 SYNC_EXPORT extern const int64_t kDefaultLongPollIntervalSeconds; 17 SYNC_EXPORT extern const int64_t kDefaultLongPollIntervalSeconds;
18 SYNC_EXPORT extern const int64_t kMaxBackoffSeconds; 18 SYNC_EXPORT extern const int64_t kMaxBackoffSeconds;
19 SYNC_EXPORT extern const int kBackoffRandomizationFactor; 19 SYNC_EXPORT extern const int kBackoffRandomizationFactor;
20 SYNC_EXPORT extern const int kInitialBackoffRetrySeconds; 20 SYNC_EXPORT extern const int kInitialBackoffRetrySeconds;
21 SYNC_EXPORT extern const int kInitialBackoffShortRetrySeconds; 21 SYNC_EXPORT extern const int kInitialBackoffShortRetrySeconds;
22 SYNC_EXPORT extern const int kInitialBackoffImmediateRetrySeconds; 22 SYNC_EXPORT extern const int kInitialBackoffImmediateRetrySeconds;
23 23
24 } // namespace syncer 24 } // namespace syncer
25 25
26 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_ 26 #endif // COMPONENTS_SYNC_ENGINE_POLLING_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/sync/engine/passive_model_worker.cc ('k') | components/sync/engine/polling_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698