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

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

Issue 2053953002: Add chrome_crash_reporter_client_win.cc to the source file list for chrome_elf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix kasko annotations Created 4 years, 6 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 // This file contains helper functions which provide information about the 4 // This file contains helper functions which provide information about the
5 // current version of Chrome. This includes channel information, version 5 // current version of Chrome. This includes channel information, version
6 // information etc. This functionality is provided by using functions in 6 // information etc. This functionality is provided by using functions in
7 // kernel32 and advapi32. No other dependencies are allowed in this file. 7 // kernel32 and advapi32. No other dependencies are allowed in this file.
8 8
9 #ifndef CHROME_INSTALL_STATIC_INSTALL_UTIL_H_ 9 #ifndef CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
10 #define CHROME_INSTALL_STATIC_INSTALL_UTIL_H_ 10 #define CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 extern const wchar_t kRestartInfo[]; 51 extern const wchar_t kRestartInfo[];
52 extern const wchar_t kRtlLocale[]; 52 extern const wchar_t kRtlLocale[];
53 53
54 // TODO(ananta) 54 // TODO(ananta)
55 // https://crbug.com/604923 55 // https://crbug.com/604923
56 // Unify these constants with those defined in content_switches.h. 56 // Unify these constants with those defined in content_switches.h.
57 extern const char kGpuProcess[]; 57 extern const char kGpuProcess[];
58 extern const char kPpapiPluginProcess[]; 58 extern const char kPpapiPluginProcess[];
59 extern const char kRendererProcess[]; 59 extern const char kRendererProcess[];
60 extern const char kUtilityProcess[]; 60 extern const char kUtilityProcess[];
61 extern const char kProcessType[];
62 extern const char kCrashpadHandler[];
61 63
62 // Returns true if |exe_path| points to a Chrome installed in an SxS 64 // Returns true if |exe_path| points to a Chrome installed in an SxS
63 // installation. 65 // installation.
64 bool IsSxSChrome(const wchar_t* exe_path); 66 bool IsSxSChrome(const wchar_t* exe_path);
65 67
66 // Returns true if |exe_path| points to a per-user level Chrome installation. 68 // Returns true if |exe_path| points to a per-user level Chrome installation.
67 bool IsSystemInstall(const wchar_t* exe_path); 69 bool IsSystemInstall(const wchar_t* exe_path);
68 70
69 // Returns true if current installation of Chrome is a multi-install. 71 // Returns true if current installation of Chrome is a multi-install.
70 bool IsMultiInstall(bool is_system_install); 72 bool IsMultiInstall(bool is_system_install);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 bool CompareVersionStrings(const std::string& version1, 204 bool CompareVersionStrings(const std::string& version1,
203 const std::string& version2, 205 const std::string& version2,
204 int* result); 206 int* result);
205 207
206 // Caches the |ProcessType| of the current process. 208 // Caches the |ProcessType| of the current process.
207 extern ProcessType g_process_type; 209 extern ProcessType g_process_type;
208 210
209 } // namespace install_static 211 } // namespace install_static
210 212
211 #endif // CHROME_INSTALL_STATIC_INSTALL_UTIL_H_ 213 #endif // CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698