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 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; | 16 const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; |
| 17 #elif defined(OS_LINUX) |
| 18 const wchar_t kBrowserProcessExecutableName[] = L"chrome"; |
| 19 #endif |
16 #if defined(GOOGLE_CHROME_BUILD) | 20 #if defined(GOOGLE_CHROME_BUILD) |
17 const wchar_t kBrowserAppName[] = L"Chrome"; | 21 const wchar_t kBrowserAppName[] = L"Chrome"; |
18 const char kStatsFilename[] = "ChromeStats2"; | 22 const char kStatsFilename[] = "ChromeStats2"; |
19 #else | 23 #else |
20 const wchar_t kBrowserAppName[] = L"Chromium"; | 24 const wchar_t kBrowserAppName[] = L"Chromium"; |
21 const char kStatsFilename[] = "ChromiumStats2"; | 25 const char kStatsFilename[] = "ChromiumStats2"; |
22 #endif | 26 #endif |
23 const wchar_t kExternalTabWindowClass[] = L"Chrome_ExternalTabContainer"; | 27 const wchar_t kExternalTabWindowClass[] = L"Chrome_ExternalTabContainer"; |
24 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; | 28 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; |
25 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; | 29 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // knowing it. Enable in debug builds. Playback mode is allowed always, | 65 // knowing it. Enable in debug builds. Playback mode is allowed always, |
62 // because it is useful for testing and not hazardous by itself. | 66 // because it is useful for testing and not hazardous by itself. |
63 #ifndef NDEBUG | 67 #ifndef NDEBUG |
64 const bool kRecordModeEnabled = true; | 68 const bool kRecordModeEnabled = true; |
65 #else | 69 #else |
66 const bool kRecordModeEnabled = false; | 70 const bool kRecordModeEnabled = false; |
67 #endif | 71 #endif |
68 | 72 |
69 } // namespace chrome | 73 } // namespace chrome |
70 | 74 |
OLD | NEW |