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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 CONTENT_EXPORT extern const char kFlashPluginName[]; | 27 CONTENT_EXPORT extern const char kFlashPluginName[]; |
28 CONTENT_EXPORT extern const char kFlashPluginSwfMimeType[]; | 28 CONTENT_EXPORT extern const char kFlashPluginSwfMimeType[]; |
29 CONTENT_EXPORT extern const char kFlashPluginSwfExtension[]; | 29 CONTENT_EXPORT extern const char kFlashPluginSwfExtension[]; |
30 CONTENT_EXPORT extern const char kFlashPluginSwfDescription[]; | 30 CONTENT_EXPORT extern const char kFlashPluginSwfDescription[]; |
31 CONTENT_EXPORT extern const char kFlashPluginSplMimeType[]; | 31 CONTENT_EXPORT extern const char kFlashPluginSplMimeType[]; |
32 CONTENT_EXPORT extern const char kFlashPluginSplExtension[]; | 32 CONTENT_EXPORT extern const char kFlashPluginSplExtension[]; |
33 CONTENT_EXPORT extern const char kFlashPluginSplDescription[]; | 33 CONTENT_EXPORT extern const char kFlashPluginSplDescription[]; |
34 CONTENT_EXPORT extern const char kSilverlightPluginMimeTypePrefix[]; | 34 CONTENT_EXPORT extern const char kSilverlightPluginMimeTypePrefix[]; |
35 | 35 |
| 36 CONTENT_EXPORT extern const char kAlwaysThrottleTestPluginName[]; |
| 37 |
36 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; | 38 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; |
37 | 39 |
38 // The maximum number of session history entries per tab. | 40 // The maximum number of session history entries per tab. |
39 extern const int kMaxSessionHistoryEntries; | 41 extern const int kMaxSessionHistoryEntries; |
40 | 42 |
41 // The maximum number of characters of the document's title that we're willing | 43 // The maximum number of characters of the document's title that we're willing |
42 // to accept in the browser process. | 44 // to accept in the browser process. |
43 extern const size_t kMaxTitleChars; | 45 extern const size_t kMaxTitleChars; |
44 | 46 |
45 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars; | 47 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars; |
46 | 48 |
47 extern const char kStatsFilename[]; | 49 extern const char kStatsFilename[]; |
48 extern const int kStatsMaxThreads; | 50 extern const int kStatsMaxThreads; |
49 extern const int kStatsMaxCounters; | 51 extern const int kStatsMaxCounters; |
50 | 52 |
51 // Most sequence numbers are used by a renderer when responding to a browser | 53 // Most sequence numbers are used by a renderer when responding to a browser |
52 // request for histogram data. This reserved number is used when a renderer | 54 // request for histogram data. This reserved number is used when a renderer |
53 // sends an unprovoked update, such as after a page has been loaded. Using | 55 // sends an unprovoked update, such as after a page has been loaded. Using |
54 // this reserved constant avoids any chance of confusion with a response having | 56 // this reserved constant avoids any chance of confusion with a response having |
55 // a browser-supplied sequence number. | 57 // a browser-supplied sequence number. |
56 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; | 58 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; |
57 | 59 |
58 // Shared constants for the flash hardware video decode field trial. | 60 // Shared constants for the flash hardware video decode field trial. |
59 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialName[]; | 61 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialName[]; |
60 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialEnabledName[]; | 62 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialEnabledName[]; |
61 | 63 |
62 } // namespace content | 64 } // namespace content |
63 | 65 |
64 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 66 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
OLD | NEW |