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

Side by Side Diff: chrome/install_static/install_util.h

Issue 2638433002: Integrate fallback crash handling in chrome (Closed)
Patch Set: Fix signedness comparison goof. Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // This file contains helper functions which provide information about the 5 // This file contains helper functions which provide information about the
6 // current version of Chrome. This includes channel information, version 6 // current version of Chrome. This includes channel information, version
7 // information etc. This functionality is provided by using functions in 7 // information etc. This functionality is provided by using functions in
8 // kernel32 and advapi32. No other dependencies are allowed in this file. 8 // kernel32 and advapi32. No other dependencies are allowed in this file.
9 9
10 #ifndef CHROME_INSTALL_STATIC_INSTALL_UTIL_H_ 10 #ifndef CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
(...skipping 25 matching lines...) Expand all
36 // Unify these constants with env_vars.h. 36 // Unify these constants with env_vars.h.
37 extern const wchar_t kHeadless[]; 37 extern const wchar_t kHeadless[];
38 extern const wchar_t kShowRestart[]; 38 extern const wchar_t kShowRestart[];
39 extern const wchar_t kRestartInfo[]; 39 extern const wchar_t kRestartInfo[];
40 extern const wchar_t kRtlLocale[]; 40 extern const wchar_t kRtlLocale[];
41 41
42 // TODO(ananta) 42 // TODO(ananta)
43 // https://crbug.com/604923 43 // https://crbug.com/604923
44 // Unify these constants with those defined in content_switches.h. 44 // Unify these constants with those defined in content_switches.h.
45 extern const wchar_t kCrashpadHandler[]; 45 extern const wchar_t kCrashpadHandler[];
46 extern const wchar_t kFallbackHandler[];
46 extern const wchar_t kProcessType[]; 47 extern const wchar_t kProcessType[];
47 extern const wchar_t kUserDataDirSwitch[]; 48 extern const wchar_t kUserDataDirSwitch[];
48 extern const wchar_t kUtilityProcess[]; 49 extern const wchar_t kUtilityProcess[];
49 50
50 // Used for suppressing warnings. 51 // Used for suppressing warnings.
51 template <typename T> inline void IgnoreUnused(T) {} 52 template <typename T> inline void IgnoreUnused(T) {}
52 53
53 // Returns true if Chrome is running at system level. 54 // Returns true if Chrome is running at system level.
54 bool IsSystemInstall(); 55 bool IsSystemInstall();
55 56
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Returns the unadorned channel name based on the channel strategy for the 180 // Returns the unadorned channel name based on the channel strategy for the
180 // install mode. 181 // install mode.
181 std::wstring DetermineChannel(const InstallConstants& mode, bool system_level); 182 std::wstring DetermineChannel(const InstallConstants& mode, bool system_level);
182 183
183 // Caches the |ProcessType| of the current process. 184 // Caches the |ProcessType| of the current process.
184 extern ProcessType g_process_type; 185 extern ProcessType g_process_type;
185 186
186 } // namespace install_static 187 } // namespace install_static
187 188
188 #endif // CHROME_INSTALL_STATIC_INSTALL_UTIL_H_ 189 #endif // CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698