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

Side by Side Diff: chrome/browser/local_discovery/privet_constants.h

Issue 69393003: Add minimum timeout for transient errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_
7 7
8 namespace local_discovery { 8 namespace local_discovery {
9 9
10 extern const char kPrivetKeyError[]; 10 extern const char kPrivetKeyError[];
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 extern const char kPrivetConnectionStatusOnline[]; 53 extern const char kPrivetConnectionStatusOnline[];
54 extern const char kPrivetConnectionStatusOffline[]; 54 extern const char kPrivetConnectionStatusOffline[];
55 extern const char kPrivetConnectionStatusConnecting[]; 55 extern const char kPrivetConnectionStatusConnecting[];
56 extern const char kPrivetConnectionStatusNotConfigured[]; 56 extern const char kPrivetConnectionStatusNotConfigured[];
57 57
58 const int kPrivetDefaultTimeout = 15; 58 const int kPrivetDefaultTimeout = 15;
59 59
60 const double kPrivetMaximumTimeRandomAddition = 0.2; 60 const double kPrivetMaximumTimeRandomAddition = 0.2;
61 61
62 const int kPrivetMinimumTimeout = 2;
63
62 const int kAccountIndexUseOAuth2 = -1; 64 const int kAccountIndexUseOAuth2 = -1;
63 65
64 } // namespace local_discovery 66 } // namespace local_discovery
65 67
66 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 68 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_http_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698