| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |