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

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

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 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/install_static/BUILD.gn ('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 2014 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
5 // current version of Chrome. This includes channel information, version
6 // information etc. This functionality is provided by using functions in
7 // kernel32 and advapi32. No other dependencies are allowed in this file.
4 8
5 #ifndef CHROME_ELF_CHROME_ELF_UTIL_H_ 9 #ifndef CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
6 #define CHROME_ELF_CHROME_ELF_UTIL_H_ 10 #define CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
7 11
8 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
9 13
10 enum class ProcessType { 14 enum class ProcessType {
11 UNINITIALIZED, 15 UNINITIALIZED,
12 NON_BROWSER_PROCESS, 16 NON_BROWSER_PROCESS,
13 BROWSER_PROCESS, 17 BROWSER_PROCESS,
14 }; 18 };
15 19
16 // Returns true if |exe_path| points to a Chrome installed in an SxS 20 // Returns true if |exe_path| points to a Chrome installed in an SxS
(...skipping 17 matching lines...) Expand all
34 // is the main browser process. 38 // is the main browser process.
35 void InitializeProcessType(); 39 void InitializeProcessType();
36 40
37 // Returns true if invoked in a Chrome process other than the main browser 41 // Returns true if invoked in a Chrome process other than the main browser
38 // process. False otherwise. 42 // process. False otherwise.
39 bool IsNonBrowserProcess(); 43 bool IsNonBrowserProcess();
40 44
41 // Caches the |ProcessType| of the current process. 45 // Caches the |ProcessType| of the current process.
42 extern ProcessType g_process_type; 46 extern ProcessType g_process_type;
43 47
44 #endif // CHROME_ELF_CHROME_ELF_UTIL_H_ 48 #endif // CHROME_INSTALL_STATIC_INSTALL_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/install_static/BUILD.gn ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698