| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 |
| 11 namespace chrome { | 11 namespace chrome { |
| 12 | 12 |
| 13 // The following should not be used for UI strings; they are meant | 13 // The following should not be used for UI strings; they are meant |
| 14 // for system strings only. UI changes should be made in the GRD. | 14 // for system strings only. UI changes should be made in the GRD. |
| 15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
| 16 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; | 16 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; |
| 17 #elif defined(OS_LINUX) | 17 #elif defined(OS_LINUX) |
| 18 const wchar_t kBrowserProcessExecutableName[] = L"chrome"; | 18 const wchar_t kBrowserProcessExecutableName[] = L"chrome"; |
| 19 #elif defined(OS_MACOSX) | 19 #elif defined(OS_MACOSX) |
| 20 const wchar_t kBrowserProcessExecutableName[] = | |
| 21 #if defined(GOOGLE_CHROME_BUILD) | 20 #if defined(GOOGLE_CHROME_BUILD) |
| 22 L"Google Chrome"; | 21 const wchar_t kBrowserProcessExecutableName[] = L"Google Chrome"; |
| 22 const wchar_t kHelperProcessExecutableName[] = L"Google Chrome Helper"; |
| 23 #else | 23 #else |
| 24 L"Chromium"; | 24 const wchar_t kBrowserProcessExecutableName[] = L"Chromium"; |
| 25 const wchar_t kHelperProcessExecutableName[] = L"Chromium Helper"; |
| 25 #endif // GOOGLE_CHROME_BUILD | 26 #endif // GOOGLE_CHROME_BUILD |
| 26 #endif // OS_* | 27 #endif // OS_* |
| 27 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
| 28 const wchar_t kBrowserProcessExecutablePath[] = L"chrome.exe"; | 29 const wchar_t kBrowserProcessExecutablePath[] = L"chrome.exe"; |
| 29 #elif defined(OS_LINUX) | 30 #elif defined(OS_LINUX) |
| 30 const wchar_t kBrowserProcessExecutablePath[] = L"chrome"; | 31 const wchar_t kBrowserProcessExecutablePath[] = L"chrome"; |
| 31 #elif defined(OS_MACOSX) | 32 #elif defined(OS_MACOSX) |
| 32 const wchar_t kBrowserProcessExecutablePath[] = | 33 const wchar_t kBrowserProcessExecutablePath[] = |
| 33 #if defined(GOOGLE_CHROME_BUILD) | 34 #if defined(GOOGLE_CHROME_BUILD) |
| 34 L"Google Chrome.app/Contents/MacOS/Google Chrome"; | 35 L"Google Chrome.app/Contents/MacOS/Google Chrome"; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // potentially be tricked into running a product in record mode without | 92 // potentially be tricked into running a product in record mode without |
| 92 // knowing it. Enable in debug builds. Playback mode is allowed always, | 93 // knowing it. Enable in debug builds. Playback mode is allowed always, |
| 93 // because it is useful for testing and not hazardous by itself. | 94 // because it is useful for testing and not hazardous by itself. |
| 94 #ifndef NDEBUG | 95 #ifndef NDEBUG |
| 95 const bool kRecordModeEnabled = true; | 96 const bool kRecordModeEnabled = true; |
| 96 #else | 97 #else |
| 97 const bool kRecordModeEnabled = false; | 98 const bool kRecordModeEnabled = false; |
| 98 #endif | 99 #endif |
| 99 | 100 |
| 100 } // namespace chrome | 101 } // namespace chrome |
| OLD | NEW |