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

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

Issue 2088133002: Switch chrome_elf exception handling from breakpad to crashpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 4 years, 5 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
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/common/chrome_version.h" 8 #include "chrome/common/chrome_version.h"
9 9
10 #define FPL FILE_PATH_LITERAL 10 #define FPL FILE_PATH_LITERAL
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); 113 const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome");
114 #endif // OS_* 114 #endif // OS_*
115 115
116 #if defined(OS_MACOSX) 116 #if defined(OS_MACOSX)
117 const base::FilePath::CharType kFrameworkName[] = 117 const base::FilePath::CharType kFrameworkName[] =
118 FPL(PRODUCT_STRING " Framework.framework"); 118 FPL(PRODUCT_STRING " Framework.framework");
119 #endif // OS_MACOSX 119 #endif // OS_MACOSX
120 120
121 #if defined(OS_WIN) 121 #if defined(OS_WIN)
122 const base::FilePath::CharType kBrowserResourcesDll[] = FPL("chrome.dll"); 122 const base::FilePath::CharType kBrowserResourcesDll[] = FPL("chrome.dll");
123 const base::FilePath::CharType kChromeElfDllName[] = FPL("chrome_elf.dll");
123 const base::FilePath::CharType kStatusTrayWindowClass[] = 124 const base::FilePath::CharType kStatusTrayWindowClass[] =
124 FPL("Chrome_StatusTrayWindow"); 125 FPL("Chrome_StatusTrayWindow");
125 #endif // defined(OS_WIN) 126 #endif // defined(OS_WIN)
126 127
127 const char kInitialProfile[] = "Default"; 128 const char kInitialProfile[] = "Default";
128 const char kMultiProfileDirPrefix[] = "Profile "; 129 const char kMultiProfileDirPrefix[] = "Profile ";
129 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); 130 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile");
130 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); 131 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile");
131 132
132 // filenames 133 // filenames
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 const wchar_t kUserDataDirname[] = L"User Data"; 193 const wchar_t kUserDataDirname[] = L"User Data";
193 #endif 194 #endif
194 195
195 const float kMaxShareOfExtensionProcesses = 0.30f; 196 const float kMaxShareOfExtensionProcesses = 0.30f;
196 197
197 #if defined(OS_LINUX) 198 #if defined(OS_LINUX)
198 const int kLowestRendererOomScore = 300; 199 const int kLowestRendererOomScore = 300;
199 const int kHighestRendererOomScore = 1000; 200 const int kHighestRendererOomScore = 1000;
200 #endif 201 #endif
201 202
202 #if defined(OS_WIN)
203 const wchar_t kMetroNavigationAndSearchMessage[] =
204 L"CHROME_METRO_NAV_SEARCH_REQUEST";
205 const wchar_t kMetroGetCurrentTabInfoMessage[] =
206 L"CHROME_METRO_GET_CURRENT_TAB_INFO";
207 #endif
208
209 #if defined(OS_CHROMEOS) 203 #if defined(OS_CHROMEOS)
210 const char kProfileDirPrefix[] = "u-"; 204 const char kProfileDirPrefix[] = "u-";
211 const char kLegacyProfileDir[] = "user"; 205 const char kLegacyProfileDir[] = "user";
212 const char kTestUserProfileDir[] = "test-user"; 206 const char kTestUserProfileDir[] = "test-user";
213 #endif 207 #endif
214 208
215 // This GUID is associated with any 'don't ask me again' settings that the 209 // This GUID is associated with any 'don't ask me again' settings that the
216 // user can select for different file types. 210 // user can select for different file types.
217 // {2676A9A2-D919-4FEE-9187-152100393AB2} 211 // {2676A9A2-D919-4FEE-9187-152100393AB2}
218 const char kApplicationClientIDStringForAVScanning[] = 212 const char kApplicationClientIDStringForAVScanning[] =
219 "2676A9A2-D919-4FEE-9187-152100393AB2"; 213 "2676A9A2-D919-4FEE-9187-152100393AB2";
220 214
221 const size_t kMaxMetaTagAttributeLength = 2000; 215 const size_t kMaxMetaTagAttributeLength = 2000;
222 216
223 } // namespace chrome 217 } // namespace chrome
224 218
225 #undef FPL 219 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698