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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 extern const base::FilePath::CharType kSingletonCookieFilename[]; | 84 extern const base::FilePath::CharType kSingletonCookieFilename[]; |
85 extern const base::FilePath::CharType kSingletonLockFilename[]; | 85 extern const base::FilePath::CharType kSingletonLockFilename[]; |
86 extern const base::FilePath::CharType kSingletonSocketFilename[]; | 86 extern const base::FilePath::CharType kSingletonSocketFilename[]; |
87 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[]; | 87 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[]; |
88 extern const base::FilePath::CharType kSyncCredentialsFilename[]; | 88 extern const base::FilePath::CharType kSyncCredentialsFilename[]; |
89 extern const base::FilePath::CharType kThemePackFilename[]; | 89 extern const base::FilePath::CharType kThemePackFilename[]; |
90 extern const base::FilePath::CharType kThumbnailsFilename[]; | 90 extern const base::FilePath::CharType kThumbnailsFilename[]; |
91 extern const base::FilePath::CharType kTopSitesFilename[]; | 91 extern const base::FilePath::CharType kTopSitesFilename[]; |
92 extern const base::FilePath::CharType kWebAppDirname[]; | 92 extern const base::FilePath::CharType kWebAppDirname[]; |
93 | 93 |
94 // File name of the Pepper Flash plugin on different platforms. | |
95 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; | |
96 | |
97 // directory names | 94 // directory names |
98 extern const wchar_t kUserDataDirname[]; | 95 extern const wchar_t kUserDataDirname[]; |
99 | 96 |
100 extern const bool kRecordModeEnabled; | 97 extern const bool kRecordModeEnabled; |
101 | 98 |
102 // If a WebContents is impolite and displays a second JavaScript alert within | 99 // If a WebContents is impolite and displays a second JavaScript alert within |
103 // kJavaScriptMessageExpectedDelay of a previous JavaScript alert being | 100 // kJavaScriptMessageExpectedDelay of a previous JavaScript alert being |
104 // dismissed, display an option to suppress future alerts from this WebContents. | 101 // dismissed, display an option to suppress future alerts from this WebContents. |
105 extern const int kJavaScriptMessageExpectedDelay; | 102 extern const int kJavaScriptMessageExpectedDelay; |
106 | 103 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 extern const char kApplicationClientIDStringForAVScanning[]; | 156 extern const char kApplicationClientIDStringForAVScanning[]; |
160 | 157 |
161 #if defined(OS_ANDROID) | 158 #if defined(OS_ANDROID) |
162 // The largest reasonable length we'd assume for a meta tag attribute. | 159 // The largest reasonable length we'd assume for a meta tag attribute. |
163 extern const size_t kMaxMetaTagAttributeLength; | 160 extern const size_t kMaxMetaTagAttributeLength; |
164 #endif | 161 #endif |
165 | 162 |
166 } // namespace chrome | 163 } // namespace chrome |
167 | 164 |
168 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 165 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |