linux_aura: Disable the plugin install infobar.
[chromium-blink-merge.git] / content / public / common / content_constants.h
blob9b3b0e386717d40a6fbdd7cd77d7142eaaf5ac9a
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
3 // found in the LICENSE file.
5 // A handful of resource-like constants related to the Content application.
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_
10 #include <stddef.h> // For size_t
12 #include "base/files/file_path.h"
13 #include "content/common/content_export.h"
15 namespace content {
17 // The name of the directory under BrowserContext::GetPath where the AppCache is
18 // put.
19 CONTENT_EXPORT extern const base::FilePath::CharType kAppCacheDirname[];
20 // The name of the directory under BrowserContext::GetPath where Pepper plugin
21 // data is put.
22 CONTENT_EXPORT extern const base::FilePath::CharType kPepperDataDirname[];
24 // The MIME type used for the browser plugin.
25 CONTENT_EXPORT extern const char kBrowserPluginMimeType[];
27 CONTENT_EXPORT extern const char kFlashPluginName[];
28 CONTENT_EXPORT extern const char kFlashPluginSwfMimeType[];
29 CONTENT_EXPORT extern const char kFlashPluginSwfExtension[];
30 CONTENT_EXPORT extern const char kFlashPluginSwfDescription[];
31 CONTENT_EXPORT extern const char kFlashPluginSplMimeType[];
32 CONTENT_EXPORT extern const char kFlashPluginSplExtension[];
33 CONTENT_EXPORT extern const char kFlashPluginSplDescription[];
35 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount;
37 // The maximum number of session history entries per tab.
38 extern const int kMaxSessionHistoryEntries;
40 // The maximum number of characters of the document's title that we're willing
41 // to accept in the browser process.
42 extern const size_t kMaxTitleChars;
44 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars;
46 extern const char kStatsFilename[];
47 extern const int kStatsMaxThreads;
48 extern const int kStatsMaxCounters;
50 // Most sequence numbers are used by a renderer when responding to a browser
51 // request for histogram data. This reserved number is used when a renderer
52 // sends an unprovoked update, such as after a page has been loaded. Using
53 // this reserved constant avoids any chance of confusion with a response having
54 // a browser-supplied sequence number.
55 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber;
57 // Shared constants for the flash hardware video decode field trial.
58 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialName[];
59 CONTENT_EXPORT extern const char kFlashHwVideoDecodeFieldTrialEnabledName[];
61 } // namespace content
63 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_