Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: chrome/common/chrome_constants.cc

Issue 1630923002: Remove PRODUCT_STRING_PATH from chrome_constants.h on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@c2_rm_PSP_profile_resetter
Patch Set: rebase on r373339 and rm unused install_util.h include Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
6
5 #include "build/build_config.h" 7 #include "build/build_config.h"
6 #include "chrome/common/chrome_constants.h"
7 #include "chrome/common/chrome_version.h" 8 #include "chrome/common/chrome_version.h"
8 9
9 #define FPL FILE_PATH_LITERAL 10 #define FPL FILE_PATH_LITERAL
10 11
11 #if defined(OS_MACOSX) 12 #if defined(OS_MACOSX)
12 #define CHROMIUM_PRODUCT_STRING "Chromium" 13 #define CHROMIUM_PRODUCT_STRING "Chromium"
13 #if defined(GOOGLE_CHROME_BUILD) 14 #if defined(GOOGLE_CHROME_BUILD)
14 #define PRODUCT_STRING "Google Chrome" 15 #define PRODUCT_STRING "Google Chrome"
15 #elif defined(CHROMIUM_BUILD) 16 #elif defined(CHROMIUM_BUILD)
16 #define PRODUCT_STRING "Chromium" 17 #define PRODUCT_STRING "Chromium"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 #if defined(OS_LINUX) 201 #if defined(OS_LINUX)
201 const int kLowestRendererOomScore = 300; 202 const int kLowestRendererOomScore = 300;
202 const int kHighestRendererOomScore = 1000; 203 const int kHighestRendererOomScore = 1000;
203 #endif 204 #endif
204 205
205 #if defined(OS_WIN) 206 #if defined(OS_WIN)
206 const wchar_t kMetroNavigationAndSearchMessage[] = 207 const wchar_t kMetroNavigationAndSearchMessage[] =
207 L"CHROME_METRO_NAV_SEARCH_REQUEST"; 208 L"CHROME_METRO_NAV_SEARCH_REQUEST";
208 const wchar_t kMetroGetCurrentTabInfoMessage[] = 209 const wchar_t kMetroGetCurrentTabInfoMessage[] =
209 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; 210 L"CHROME_METRO_GET_CURRENT_TAB_INFO";
210 // This is used by breakpad and the metrics reporting.
211 const wchar_t kBrowserCrashDumpAttemptsRegistryPath[] =
212 L"Software\\" PRODUCT_STRING_PATH L"\\BrowserCrashDumpAttempts";
213 const wchar_t kBrowserCrashDumpAttemptsRegistryPathSxS[] =
214 L"Software\\" PRODUCT_STRING_PATH L"\\BrowserCrashDumpAttemptsSxS";
215 // This is used by browser exit code metrics reporting.
216 const wchar_t kBrowserExitCodesRegistryPath[] =
217 L"Software\\" PRODUCT_STRING_PATH L"\\BrowserExitCodes";
218 #endif 211 #endif
219 212
220 #if defined(OS_CHROMEOS) 213 #if defined(OS_CHROMEOS)
221 const char kProfileDirPrefix[] = "u-"; 214 const char kProfileDirPrefix[] = "u-";
222 const char kLegacyProfileDir[] = "user"; 215 const char kLegacyProfileDir[] = "user";
223 const char kTestUserProfileDir[] = "test-user"; 216 const char kTestUserProfileDir[] = "test-user";
224 #endif 217 #endif
225 218
226 // This GUID is associated with any 'don't ask me again' settings that the 219 // This GUID is associated with any 'don't ask me again' settings that the
227 // user can select for different file types. 220 // user can select for different file types.
228 // {2676A9A2-D919-4FEE-9187-152100393AB2} 221 // {2676A9A2-D919-4FEE-9187-152100393AB2}
229 const char kApplicationClientIDStringForAVScanning[] = 222 const char kApplicationClientIDStringForAVScanning[] =
230 "2676A9A2-D919-4FEE-9187-152100393AB2"; 223 "2676A9A2-D919-4FEE-9187-152100393AB2";
231 224
232 const size_t kMaxMetaTagAttributeLength = 2000; 225 const size_t kMaxMetaTagAttributeLength = 2000;
233 226
234 } // namespace chrome 227 } // namespace chrome
235 228
236 #undef FPL 229 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698