| 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 Chrome application. | 5 // A handful of resource-like constants related to the Chrome application. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ |
| 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ | 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 extern const base::FilePath::CharType kThumbnailsFilename[]; | 96 extern const base::FilePath::CharType kThumbnailsFilename[]; |
| 97 extern const base::FilePath::CharType kTopSitesFilename[]; | 97 extern const base::FilePath::CharType kTopSitesFilename[]; |
| 98 extern const base::FilePath::CharType kWebAppDirname[]; | 98 extern const base::FilePath::CharType kWebAppDirname[]; |
| 99 | 99 |
| 100 // File name of the Pepper Flash plugin on different platforms. | 100 // File name of the Pepper Flash plugin on different platforms. |
| 101 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; | 101 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; |
| 102 | 102 |
| 103 // directory names | 103 // directory names |
| 104 extern const wchar_t kUserDataDirname[]; | 104 extern const wchar_t kUserDataDirname[]; |
| 105 | 105 |
| 106 extern const bool kRecordModeEnabled; | |
| 107 | |
| 108 // Are touch icons enabled? False by default. | 106 // Are touch icons enabled? False by default. |
| 109 extern const bool kEnableTouchIcon; | 107 extern const bool kEnableTouchIcon; |
| 110 | 108 |
| 111 // Fraction of the total number of processes to be used for hosting | 109 // Fraction of the total number of processes to be used for hosting |
| 112 // extensions. If we have more extensions than this percentage, we will start | 110 // extensions. If we have more extensions than this percentage, we will start |
| 113 // combining extensions in existing processes. This allows web pages to have | 111 // combining extensions in existing processes. This allows web pages to have |
| 114 // enough render processes and not be starved when a lot of extensions are | 112 // enough render processes and not be starved when a lot of extensions are |
| 115 // installed. | 113 // installed. |
| 116 extern const float kMaxShareOfExtensionProcesses; | 114 extern const float kMaxShareOfExtensionProcesses; |
| 117 | 115 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 154 |
| 157 // Used to identify the application to the system AV function in Windows. | 155 // Used to identify the application to the system AV function in Windows. |
| 158 extern const char kApplicationClientIDStringForAVScanning[]; | 156 extern const char kApplicationClientIDStringForAVScanning[]; |
| 159 | 157 |
| 160 // The largest reasonable length we'd assume for a meta tag attribute. | 158 // The largest reasonable length we'd assume for a meta tag attribute. |
| 161 extern const size_t kMaxMetaTagAttributeLength; | 159 extern const size_t kMaxMetaTagAttributeLength; |
| 162 | 160 |
| 163 } // namespace chrome | 161 } // namespace chrome |
| 164 | 162 |
| 165 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 163 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
| OLD | NEW |