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 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #elif defined(OS_MACOSX) | 43 #elif defined(OS_MACOSX) |
44 const wchar_t kBrowserProcessExecutablePath[] = | 44 const wchar_t kBrowserProcessExecutablePath[] = |
45 PRODUCT_STRING_W L".app/Contents/MacOS/" PRODUCT_STRING_W; | 45 PRODUCT_STRING_W L".app/Contents/MacOS/" PRODUCT_STRING_W; |
46 const FilePath::CharType kHelperProcessExecutablePath[] = | 46 const FilePath::CharType kHelperProcessExecutablePath[] = |
47 FPL(PRODUCT_STRING " Helper.app/Contents/MacOS/" PRODUCT_STRING " Helper"); | 47 FPL(PRODUCT_STRING " Helper.app/Contents/MacOS/" PRODUCT_STRING " Helper"); |
48 #endif // OS_* | 48 #endif // OS_* |
49 #if defined(OS_MACOSX) | 49 #if defined(OS_MACOSX) |
50 const FilePath::CharType kFrameworkName[] = | 50 const FilePath::CharType kFrameworkName[] = |
51 FPL(PRODUCT_STRING " Framework.framework"); | 51 FPL(PRODUCT_STRING " Framework.framework"); |
52 #endif // OS_MACOSX | 52 #endif // OS_MACOSX |
53 #if defined(CHROME_FRAME_BUILD) | 53 #if defined(GOOGLE_CHROME_BUILD) |
54 const wchar_t kBrowserAppName[] = L"ChromeFrame"; | |
55 const char kStatsFilename[] = "ChromeFrameStats2"; | |
56 #elif defined(GOOGLE_CHROME_BUILD) | |
57 const wchar_t kBrowserAppName[] = L"Chrome"; | 54 const wchar_t kBrowserAppName[] = L"Chrome"; |
58 const char kStatsFilename[] = "ChromeStats2"; | 55 const char kStatsFilename[] = "ChromeStats2"; |
59 #else | 56 #else |
60 const wchar_t kBrowserAppName[] = L"Chromium"; | 57 const wchar_t kBrowserAppName[] = L"Chromium"; |
61 const char kStatsFilename[] = "ChromiumStats2"; | 58 const char kStatsFilename[] = "ChromiumStats2"; |
62 #endif | 59 #endif |
63 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; | 60 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; |
64 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; | 61 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; |
65 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; | 62 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; |
66 const wchar_t kNotSignedInProfile[] = L"Default"; | 63 const wchar_t kNotSignedInProfile[] = L"Default"; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // because it is useful for testing and not hazardous by itself. | 111 // because it is useful for testing and not hazardous by itself. |
115 #ifndef NDEBUG | 112 #ifndef NDEBUG |
116 const bool kRecordModeEnabled = true; | 113 const bool kRecordModeEnabled = true; |
117 #else | 114 #else |
118 const bool kRecordModeEnabled = false; | 115 const bool kRecordModeEnabled = false; |
119 #endif | 116 #endif |
120 | 117 |
121 } // namespace chrome | 118 } // namespace chrome |
122 | 119 |
123 #undef FPL | 120 #undef FPL |
OLD | NEW |