Chromium Code Reviews| 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 |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 // The name of the directory under BrowserContext::GetPath where the AppCache is | 17 // The name of the directory under BrowserContext::GetPath where the AppCache is |
| 18 // put. | 18 // put. |
| 19 CONTENT_EXPORT extern const base::FilePath::CharType kAppCacheDirname[]; | 19 CONTENT_EXPORT extern const base::FilePath::CharType kAppCacheDirname[]; |
| 20 // The name of the directory under BrowserContext::GetPath where Pepper plugin | 20 // The name of the directory under BrowserContext::GetPath where Pepper plugin |
| 21 // data is put. | 21 // data is put. |
| 22 CONTENT_EXPORT extern const base::FilePath::CharType kPepperDataDirname[]; | 22 CONTENT_EXPORT extern const base::FilePath::CharType kPepperDataDirname[]; |
| 23 | 23 |
| 24 // The MIME type used for the browser plugin. | 24 // The MIME type used for the browser plugin. |
| 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 kAdobeFlashPlayerPluginName[]; | |
|
clamy
2016/11/14 14:38:43
Why do you need to move this to content/? It seems
pastarmovj
2016/11/15 10:09:18
Yeah it felt right the right place (provided the r
| |
| 28 CONTENT_EXPORT extern const char kFlashPluginSwfMimeType[]; | 29 CONTENT_EXPORT extern const char kFlashPluginSwfMimeType[]; |
| 29 CONTENT_EXPORT extern const char kFlashPluginSwfExtension[]; | 30 CONTENT_EXPORT extern const char kFlashPluginSwfExtension[]; |
| 30 CONTENT_EXPORT extern const char kFlashPluginSwfDescription[]; | 31 CONTENT_EXPORT extern const char kFlashPluginSwfDescription[]; |
| 31 CONTENT_EXPORT extern const char kFlashPluginSplMimeType[]; | 32 CONTENT_EXPORT extern const char kFlashPluginSplMimeType[]; |
| 32 CONTENT_EXPORT extern const char kFlashPluginSplExtension[]; | 33 CONTENT_EXPORT extern const char kFlashPluginSplExtension[]; |
| 33 CONTENT_EXPORT extern const char kFlashPluginSplDescription[]; | 34 CONTENT_EXPORT extern const char kFlashPluginSplDescription[]; |
| 34 | 35 |
| 35 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; | 36 CONTENT_EXPORT extern const size_t kMaxRendererProcessCount; |
| 36 | 37 |
| 37 // The maximum number of session history entries per tab. | 38 // The maximum number of session history entries per tab. |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 57 // Most sequence numbers are used by a renderer when responding to a browser | 58 // 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 | 59 // 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 | 60 // 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 | 61 // this reserved constant avoids any chance of confusion with a response having |
| 61 // a browser-supplied sequence number. | 62 // a browser-supplied sequence number. |
| 62 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; | 63 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; |
| 63 | 64 |
| 64 } // namespace content | 65 } // namespace content |
| 65 | 66 |
| 66 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 67 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
| OLD | NEW |