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 #include "chrome/common/chrome_constants.h" | 5 #include "chrome/common/chrome_constants.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #endif // defined(OS_WIN) | 129 #endif // defined(OS_WIN) |
130 | 130 |
131 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; | 131 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; |
132 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; | 132 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; |
133 const char kInitialProfile[] = "Default"; | 133 const char kInitialProfile[] = "Default"; |
134 const char kMultiProfileDirPrefix[] = "Profile "; | 134 const char kMultiProfileDirPrefix[] = "Profile "; |
135 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); | 135 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); |
136 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; | 136 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; |
137 | 137 |
138 // filenames | 138 // filenames |
139 #if defined(OS_ANDROID) | |
140 const base::FilePath::CharType kAndroidCacheFilename[] = FPL("AndroidCache"); | |
141 #endif | |
142 const base::FilePath::CharType kArchivedHistoryFilename[] = | |
143 FPL("Archived History"); | |
144 const base::FilePath::CharType kCacheDirname[] = FPL("Cache"); | 139 const base::FilePath::CharType kCacheDirname[] = FPL("Cache"); |
145 const base::FilePath::CharType kChannelIDFilename[] = FPL("Origin Bound Certs"); | 140 const base::FilePath::CharType kChannelIDFilename[] = FPL("Origin Bound Certs"); |
146 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies"); | 141 const base::FilePath::CharType kCookieFilename[] = FPL("Cookies"); |
147 const base::FilePath::CharType kCRLSetFilename[] = | 142 const base::FilePath::CharType kCRLSetFilename[] = |
148 FPL("Certificate Revocation Lists"); | 143 FPL("Certificate Revocation Lists"); |
149 const base::FilePath::CharType kCustomDictionaryFileName[] = | 144 const base::FilePath::CharType kCustomDictionaryFileName[] = |
150 FPL("Custom Dictionary.txt"); | 145 FPL("Custom Dictionary.txt"); |
151 const base::FilePath::CharType kExtensionActivityLogFilename[] = | 146 const base::FilePath::CharType kExtensionActivityLogFilename[] = |
152 FPL("Extension Activity"); | 147 FPL("Extension Activity"); |
153 const base::FilePath::CharType kExtensionsCookieFilename[] = | 148 const base::FilePath::CharType kExtensionsCookieFilename[] = |
154 FPL("Extension Cookies"); | 149 FPL("Extension Cookies"); |
155 const base::FilePath::CharType kFaviconsFilename[] = FPL("Favicons"); | |
156 const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run"); | 150 const base::FilePath::CharType kFirstRunSentinel[] = FPL("First Run"); |
157 const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store"); | 151 const base::FilePath::CharType kGCMStoreDirname[] = FPL("GCM Store"); |
158 const base::FilePath::CharType kHistoryFilename[] = FPL("History"); | |
159 const base::FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); | 152 const base::FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); |
160 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State"); | 153 const base::FilePath::CharType kLocalStateFilename[] = FPL("Local State"); |
161 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool"); | 154 const base::FilePath::CharType kLocalStorePoolName[] = FPL("LocalStorePool"); |
162 const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); | 155 const base::FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); |
163 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); | 156 const base::FilePath::CharType kMediaCacheDirname[] = FPL("Media Cache"); |
164 const base::FilePath::CharType kNewTabThumbnailsFilename[] = | 157 const base::FilePath::CharType kNewTabThumbnailsFilename[] = |
165 FPL("Top Thumbnails"); | 158 FPL("Top Thumbnails"); |
166 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); | 159 const base::FilePath::CharType kPreferencesFilename[] = FPL("Preferences"); |
167 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] = | 160 const base::FilePath::CharType kProtectedPreferencesFilenameDeprecated[] = |
168 FPL("Protected Preferences"); | 161 FPL("Protected Preferences"); |
169 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); | 162 const base::FilePath::CharType kReadmeFilename[] = FPL("README"); |
170 const base::FilePath::CharType kResetPromptMementoFilename[] = | 163 const base::FilePath::CharType kResetPromptMementoFilename[] = |
171 FPL("Reset Prompt Memento"); | 164 FPL("Reset Prompt Memento"); |
172 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = | 165 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = |
173 FPL("Safe Browsing"); | 166 FPL("Safe Browsing"); |
174 const base::FilePath::CharType kSecurePreferencesFilename[] = | 167 const base::FilePath::CharType kSecurePreferencesFilename[] = |
175 FPL("Secure Preferences"); | 168 FPL("Secure Preferences"); |
176 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); | 169 const base::FilePath::CharType kServiceStateFileName[] = FPL("Service State"); |
177 const base::FilePath::CharType kShortcutsDatabaseName[] = FPL("Shortcuts"); | 170 const base::FilePath::CharType kShortcutsDatabaseName[] = FPL("Shortcuts"); |
178 const base::FilePath::CharType kSingletonCookieFilename[] = | 171 const base::FilePath::CharType kSingletonCookieFilename[] = |
179 FPL("SingletonCookie"); | 172 FPL("SingletonCookie"); |
180 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); | 173 const base::FilePath::CharType kSingletonLockFilename[] = FPL("SingletonLock"); |
181 const base::FilePath::CharType kSingletonSocketFilename[] = | 174 const base::FilePath::CharType kSingletonSocketFilename[] = |
182 FPL("SingletonSocket"); | 175 FPL("SingletonSocket"); |
183 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = | 176 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = |
184 FPL("Managed Mode Settings"); | 177 FPL("Managed Mode Settings"); |
185 const base::FilePath::CharType kSyncCredentialsFilename[] = | 178 const base::FilePath::CharType kSyncCredentialsFilename[] = |
186 FPL("Sync Credentials"); | 179 FPL("Sync Credentials"); |
187 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); | 180 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); |
188 const base::FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); | |
189 const base::FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); | 181 const base::FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); |
190 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); | 182 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); |
191 | 183 |
192 // File name of the Pepper Flash plugin on different platforms. | 184 // File name of the Pepper Flash plugin on different platforms. |
193 const base::FilePath::CharType kPepperFlashPluginFilename[] = | 185 const base::FilePath::CharType kPepperFlashPluginFilename[] = |
194 #if defined(OS_MACOSX) | 186 #if defined(OS_MACOSX) |
195 FPL("PepperFlashPlayer.plugin"); | 187 FPL("PepperFlashPlayer.plugin"); |
196 #elif defined(OS_WIN) | 188 #elif defined(OS_WIN) |
197 FPL("pepflashplayer.dll"); | 189 FPL("pepflashplayer.dll"); |
198 #else // OS_LINUX, etc. | 190 #else // OS_LINUX, etc. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // user can select for different file types. | 246 // user can select for different file types. |
255 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 247 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
256 const char kApplicationClientIDStringForAVScanning[] = | 248 const char kApplicationClientIDStringForAVScanning[] = |
257 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 249 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
258 | 250 |
259 const size_t kMaxMetaTagAttributeLength = 2000; | 251 const size_t kMaxMetaTagAttributeLength = 2000; |
260 | 252 |
261 } // namespace chrome | 253 } // namespace chrome |
262 | 254 |
263 #undef FPL | 255 #undef FPL |
OLD | NEW |