OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |