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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(GOOGLE_CHROME_BUILD) | 53 #if defined(GOOGLE_CHROME_BUILD) |
54 const wchar_t kBrowserAppName[] = L"Chrome"; | 54 const wchar_t kBrowserAppName[] = L"Chrome"; |
55 const char kStatsFilename[] = "ChromeStats2"; | 55 const char kStatsFilename[] = "ChromeStats2"; |
56 #else | 56 #else |
57 const wchar_t kBrowserAppName[] = L"Chromium"; | 57 const wchar_t kBrowserAppName[] = L"Chromium"; |
58 const char kStatsFilename[] = "ChromiumStats2"; | 58 const char kStatsFilename[] = "ChromiumStats2"; |
59 #endif | 59 #endif |
| 60 |
| 61 #if defined(OS_WIN) |
| 62 #if defined(GOOGLE_CHROME_BUILD) |
| 63 const wchar_t kBrowserAppId[] = L"Chrome"; |
| 64 #else |
| 65 const wchar_t kBrowserAppId[] = L"Chromium"; |
| 66 #endif |
| 67 #endif // defined(OS_WIN) |
| 68 |
60 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; | 69 const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; |
61 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; | 70 const wchar_t kCrashReportLog[] = L"Reported Crashes.txt"; |
62 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; | 71 const wchar_t kTestingInterfaceDLL[] = L"testing_interface.dll"; |
63 const wchar_t kNotSignedInProfile[] = L"Default"; | 72 const wchar_t kNotSignedInProfile[] = L"Default"; |
64 const wchar_t kNotSignedInID[] = L"not-signed-in"; | 73 const wchar_t kNotSignedInID[] = L"not-signed-in"; |
65 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; | 74 const wchar_t kBrowserResourcesDll[] = L"chrome.dll"; |
66 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); | 75 const FilePath::CharType kExtensionFileExtension[] = FPL("crx"); |
67 | 76 |
68 // filenames | 77 // filenames |
69 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); | 78 const FilePath::CharType kArchivedHistoryFilename[] = FPL("Archived History"); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // because it is useful for testing and not hazardous by itself. | 121 // because it is useful for testing and not hazardous by itself. |
113 #ifndef NDEBUG | 122 #ifndef NDEBUG |
114 const bool kRecordModeEnabled = true; | 123 const bool kRecordModeEnabled = true; |
115 #else | 124 #else |
116 const bool kRecordModeEnabled = false; | 125 const bool kRecordModeEnabled = false; |
117 #endif | 126 #endif |
118 | 127 |
119 } // namespace chrome | 128 } // namespace chrome |
120 | 129 |
121 #undef FPL | 130 #undef FPL |
OLD | NEW |