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

Side by Side Diff: content/public/common/content_constants.h

Issue 2356053002: [HBD] Only use Plugin Content Settings for Flash. (Closed)
Patch Set: fix Created 4 years, 3 months 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
OLDNEW
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 14 matching lines...) Expand all
25 CONTENT_EXPORT extern const char kBrowserPluginMimeType[]; 25 CONTENT_EXPORT extern const char kBrowserPluginMimeType[];
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 34
35 CONTENT_EXPORT extern const char kTestPluginMimeType[];
36
35 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; 37 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount;
36 38
37 // The maximum number of session history entries per tab. 39 // The maximum number of session history entries per tab.
38 extern const int kMaxSessionHistoryEntries; 40 extern const int kMaxSessionHistoryEntries;
39 41
40 // The maximum number of characters of the document's title that we're willing 42 // The maximum number of characters of the document's title that we're willing
41 // to accept in the browser process. 43 // to accept in the browser process.
42 extern const size_t kMaxTitleChars; 44 extern const size_t kMaxTitleChars;
43 45
44 // The maximum number of characters in the URL that we're willing to accept 46 // The maximum number of characters in the URL that we're willing to accept
(...skipping 12 matching lines...) Expand all
57 // Most sequence numbers are used by a renderer when responding to a browser 59 // Most sequence numbers are used by a renderer when responding to a browser
58 // request for histogram data. This reserved number is used when a renderer 60 // request for histogram data. This reserved number is used when a renderer
59 // sends an unprovoked update, such as after a page has been loaded. Using 61 // sends an unprovoked update, such as after a page has been loaded. Using
60 // this reserved constant avoids any chance of confusion with a response having 62 // this reserved constant avoids any chance of confusion with a response having
61 // a browser-supplied sequence number. 63 // a browser-supplied sequence number.
62 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; 64 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber;
63 65
64 } // namespace content 66 } // namespace content
65 67
66 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ 68 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698