| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 FPL("SingletonSocket"); | 192 FPL("SingletonSocket"); |
| 193 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = | 193 const base::FilePath::CharType kSupervisedUserSettingsFilename[] = |
| 194 FPL("Managed Mode Settings"); | 194 FPL("Managed Mode Settings"); |
| 195 const base::FilePath::CharType kSyncCredentialsFilename[] = | 195 const base::FilePath::CharType kSyncCredentialsFilename[] = |
| 196 FPL("Sync Credentials"); | 196 FPL("Sync Credentials"); |
| 197 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); | 197 const base::FilePath::CharType kThemePackFilename[] = FPL("Cached Theme.pak"); |
| 198 const base::FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); | 198 const base::FilePath::CharType kThumbnailsFilename[] = FPL("Thumbnails"); |
| 199 const base::FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); | 199 const base::FilePath::CharType kTopSitesFilename[] = FPL("Top Sites"); |
| 200 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); | 200 const base::FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); |
| 201 | 201 |
| 202 // File name of the Pepper Flash plugin on different platforms. | |
| 203 const base::FilePath::CharType kPepperFlashPluginFilename[] = | |
| 204 #if defined(OS_MACOSX) | |
| 205 FPL("PepperFlashPlayer.plugin"); | |
| 206 #elif defined(OS_WIN) | |
| 207 FPL("pepflashplayer.dll"); | |
| 208 #else // OS_LINUX, etc. | |
| 209 FPL("libpepflashplayer.so"); | |
| 210 #endif | |
| 211 | |
| 212 // directory names | 202 // directory names |
| 213 const wchar_t kUserDataDirname[] = L"User Data"; | 203 const wchar_t kUserDataDirname[] = L"User Data"; |
| 214 | 204 |
| 215 // We don't enable record mode in the released product because users could | 205 // We don't enable record mode in the released product because users could |
| 216 // potentially be tricked into running a product in record mode without | 206 // potentially be tricked into running a product in record mode without |
| 217 // knowing it. Enable in debug builds. Playback mode is allowed always, | 207 // knowing it. Enable in debug builds. Playback mode is allowed always, |
| 218 // because it is useful for testing and not hazardous by itself. | 208 // because it is useful for testing and not hazardous by itself. |
| 219 #ifndef NDEBUG | 209 #ifndef NDEBUG |
| 220 // const bool kRecordModeEnabled = true; | 210 // const bool kRecordModeEnabled = true; |
| 221 #else | 211 #else |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 const char kApplicationClientIDStringForAVScanning[] = | 258 const char kApplicationClientIDStringForAVScanning[] = |
| 269 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 259 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
| 270 | 260 |
| 271 #if defined(OS_ANDROID) | 261 #if defined(OS_ANDROID) |
| 272 const size_t kMaxMetaTagAttributeLength = 2000; | 262 const size_t kMaxMetaTagAttributeLength = 2000; |
| 273 #endif | 263 #endif |
| 274 | 264 |
| 275 } // namespace chrome | 265 } // namespace chrome |
| 276 | 266 |
| 277 #undef FPL | 267 #undef FPL |
| OLD | NEW |