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

Side by Side Diff: chrome/installer/mini_installer/configuration.h

Issue 2595863002: Fix system-level detection in the mini_installer. (Closed)
Patch Set: Created 4 years 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 | « no previous file | chrome/installer/mini_installer/configuration.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 #ifndef CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_ 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_ 6 #define CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "chrome/installer/mini_installer/mini_string.h" 10 #include "chrome/installer/mini_installer/mini_string.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Returns true if --chrome is explicitly or implicitly on the command line. 47 // Returns true if --chrome is explicitly or implicitly on the command line.
48 bool has_chrome() const { return has_chrome_; } 48 bool has_chrome() const { return has_chrome_; }
49 49
50 // Returns true if --chrome-frame is on the command line. 50 // Returns true if --chrome-frame is on the command line.
51 bool has_chrome_frame() const { return has_chrome_frame_; } 51 bool has_chrome_frame() const { return has_chrome_frame_; }
52 52
53 // Returns true if --multi-install is on the command line. 53 // Returns true if --multi-install is on the command line.
54 bool is_multi_install() const { return is_multi_install_; } 54 bool is_multi_install() const { return is_multi_install_; }
55 55
56 // Returns true if --system-level is on the command line. 56 // Returns true if --system-level is on the command line or if
57 // GoogleUpdateIsMachine=1 is set in the process's environment.
57 bool is_system_level() const { return is_system_level_; } 58 bool is_system_level() const { return is_system_level_; }
58 59
59 // Retuns true if --chrome-sxs is on the command line. 60 // Retuns true if --chrome-sxs is on the command line.
60 bool is_side_by_side() const { return is_side_by_side_; } 61 bool is_side_by_side() const { return is_side_by_side_; }
61 62
62 // Returns the previous version contained in the image's resource. 63 // Returns the previous version contained in the image's resource.
63 const wchar_t* previous_version() const { return previous_version_; } 64 const wchar_t* previous_version() const { return previous_version_; }
64 65
65 protected: 66 protected:
66 void Clear(); 67 void Clear();
(...skipping 23 matching lines...) Expand all
90 private: 91 private:
91 Configuration(const Configuration&); 92 Configuration(const Configuration&);
92 Configuration& operator=(const Configuration&); 93 Configuration& operator=(const Configuration&);
93 94
94 void SetChromeAppGuid(); 95 void SetChromeAppGuid();
95 }; 96 };
96 97
97 } // namespace mini_installer 98 } // namespace mini_installer
98 99
99 #endif // CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_ 100 #endif // CHROME_INSTALLER_MINI_INSTALLER_CONFIGURATION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/mini_installer/configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698