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

Side by Side Diff: sync/internal_api/public/engine/polling_constants.h

Issue 11624037: [sync] Componentize sync: Part 6: Add more SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (no code changes) Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 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 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 9
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 extern const int64 kDefaultShortPollIntervalSeconds; 14 SYNC_EXPORT_PRIVATE extern const int64 kDefaultShortPollIntervalSeconds;
15 extern const int64 kDefaultLongPollIntervalSeconds; 15 SYNC_EXPORT_PRIVATE extern const int64 kDefaultLongPollIntervalSeconds;
16 SYNC_EXPORT extern const int64 kMaxBackoffSeconds; 16 SYNC_EXPORT extern const int64 kMaxBackoffSeconds;
17 SYNC_EXPORT extern const int kBackoffRandomizationFactor; 17 SYNC_EXPORT extern const int kBackoffRandomizationFactor;
18 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffRetrySeconds; 18 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffRetrySeconds;
19 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffShortRetrySeconds; 19 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffShortRetrySeconds;
20 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffImmediateRetrySeconds; 20 SYNC_EXPORT_PRIVATE extern const int kInitialBackoffImmediateRetrySeconds;
21 21
22 22
23 } // namespace syncer 23 } // namespace syncer
24 24
25 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_ 25 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/engine/model_safe_worker.h ('k') | sync/internal_api/public/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698