| 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/file_path.h" | 7 #include "base/file_path.h" |
| 8 | 8 |
| 9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
| 10 | 10 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 #elif defined(OS_WIN) | 170 #elif defined(OS_WIN) |
| 171 FPL("pepflashplayer.dll"); | 171 FPL("pepflashplayer.dll"); |
| 172 #else // OS_LINUX, etc. | 172 #else // OS_LINUX, etc. |
| 173 FPL("libpepflashplayer.so"); | 173 FPL("libpepflashplayer.so"); |
| 174 #endif | 174 #endif |
| 175 | 175 |
| 176 // directory names | 176 // directory names |
| 177 const wchar_t kUserDataDirname[] = L"User Data"; | 177 const wchar_t kUserDataDirname[] = L"User Data"; |
| 178 | 178 |
| 179 #if defined(OS_CHROMEOS) | 179 #if defined(OS_CHROMEOS) |
| 180 const FilePath::CharType kGDataCacheDirname[] = FPL("GCache"); | 180 const FilePath::CharType kDriveCacheDirname[] = FPL("GCache"); |
| 181 #endif // defined(OS_CHROMEOS) | 181 #endif // defined(OS_CHROMEOS) |
| 182 | 182 |
| 183 // We don't enable record mode in the released product because users could | 183 // We don't enable record mode in the released product because users could |
| 184 // potentially be tricked into running a product in record mode without | 184 // potentially be tricked into running a product in record mode without |
| 185 // knowing it. Enable in debug builds. Playback mode is allowed always, | 185 // knowing it. Enable in debug builds. Playback mode is allowed always, |
| 186 // because it is useful for testing and not hazardous by itself. | 186 // because it is useful for testing and not hazardous by itself. |
| 187 #ifndef NDEBUG | 187 #ifndef NDEBUG |
| 188 // const bool kRecordModeEnabled = true; | 188 // const bool kRecordModeEnabled = true; |
| 189 #else | 189 #else |
| 190 // const bool kRecordModeEnabled = false; | 190 // const bool kRecordModeEnabled = false; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 211 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; | 211 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; |
| 212 const wchar_t kMetroNavigationAndSearchMessage[] = | 212 const wchar_t kMetroNavigationAndSearchMessage[] = |
| 213 L"CHROME_METRO_NAV_SEARCH_REQUEST"; | 213 L"CHROME_METRO_NAV_SEARCH_REQUEST"; |
| 214 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 214 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
| 215 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 215 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
| 216 #endif | 216 #endif |
| 217 | 217 |
| 218 } // namespace chrome | 218 } // namespace chrome |
| 219 | 219 |
| 220 #undef FPL | 220 #undef FPL |
| OLD | NEW |