OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // A handful of resource-like constants related to the Content application. | 5 // A handful of resource-like constants related to the Content application. |
6 | 6 |
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 // We have different values for "max accepted" and "max displayed" because | 37 // We have different values for "max accepted" and "max displayed" because |
38 // a data: URI may be legitimately massive, but the full URI would kill all | 38 // a data: URI may be legitimately massive, but the full URI would kill all |
39 // known operating systems if you dropped it into a UI control. | 39 // known operating systems if you dropped it into a UI control. |
40 CONTENT_EXPORT extern const size_t kMaxURLChars; | 40 CONTENT_EXPORT extern const size_t kMaxURLChars; |
41 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars; | 41 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars; |
42 | 42 |
43 extern const char kStatsFilename[]; | 43 extern const char kStatsFilename[]; |
44 extern const int kStatsMaxThreads; | 44 extern const int kStatsMaxThreads; |
45 extern const int kStatsMaxCounters; | 45 extern const int kStatsMaxCounters; |
46 | 46 |
| 47 // Most sequence numbers are used by a renderer when responding to a browser |
| 48 // request for histogram data. This reserved number is used when a renderer |
| 49 // sends an unprovoked update, such as after a page has been loaded. Using |
| 50 // this reserved constant avoids any chance of confusion with a response having |
| 51 // a browser-supplied sequence number. |
| 52 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; |
| 53 |
47 } // namespace content | 54 } // namespace content |
48 | 55 |
49 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 56 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
OLD | NEW |