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