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 <stddef.h> | 10 #include <stddef.h> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 extern const base::FilePath::CharType kSecurePreferencesFilename[]; | 65 extern const base::FilePath::CharType kSecurePreferencesFilename[]; |
66 extern const base::FilePath::CharType kServiceStateFileName[]; | 66 extern const base::FilePath::CharType kServiceStateFileName[]; |
67 extern const base::FilePath::CharType kSingletonCookieFilename[]; | 67 extern const base::FilePath::CharType kSingletonCookieFilename[]; |
68 extern const base::FilePath::CharType kSingletonLockFilename[]; | 68 extern const base::FilePath::CharType kSingletonLockFilename[]; |
69 extern const base::FilePath::CharType kSingletonSocketFilename[]; | 69 extern const base::FilePath::CharType kSingletonSocketFilename[]; |
70 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[]; | 70 extern const base::FilePath::CharType kSupervisedUserSettingsFilename[]; |
71 extern const base::FilePath::CharType kThemePackFilename[]; | 71 extern const base::FilePath::CharType kThemePackFilename[]; |
72 extern const base::FilePath::CharType kWebAppDirname[]; | 72 extern const base::FilePath::CharType kWebAppDirname[]; |
73 | 73 |
74 #if defined(OS_WIN) | 74 #if defined(OS_WIN) |
75 extern const base::FilePath::CharType kJumpListIconDirname[]; | 75 extern const base::FilePath::StringType kJumpListIconDirname; |
grt (UTC plus 2)
2017/05/01 09:22:56
this must remain a CharType array since introducin
chengx
2017/05/03 05:47:01
Done. I've reverted the changes in chrome_constant
| |
76 #endif | 76 #endif |
77 | 77 |
78 // File name of the Pepper Flash plugin on different platforms. | 78 // File name of the Pepper Flash plugin on different platforms. |
79 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; | 79 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; |
80 | 80 |
81 // directory names | 81 // directory names |
82 #if defined(OS_WIN) | 82 #if defined(OS_WIN) |
83 extern const wchar_t kUserDataDirname[]; | 83 extern const wchar_t kUserDataDirname[]; |
84 #endif | 84 #endif |
85 | 85 |
(...skipping 26 matching lines...) Expand all Loading... | |
112 | 112 |
113 // Used to identify the application to the system AV function in Windows. | 113 // Used to identify the application to the system AV function in Windows. |
114 extern const char kApplicationClientIDStringForAVScanning[]; | 114 extern const char kApplicationClientIDStringForAVScanning[]; |
115 | 115 |
116 // The largest reasonable length we'd assume for a meta tag attribute. | 116 // The largest reasonable length we'd assume for a meta tag attribute. |
117 extern const size_t kMaxMetaTagAttributeLength; | 117 extern const size_t kMaxMetaTagAttributeLength; |
118 | 118 |
119 } // namespace chrome | 119 } // namespace chrome |
120 | 120 |
121 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 121 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |