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

Side by Side Diff: chrome/installer/util/installer_state.h

Issue 14031025: Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 (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_UTIL_INSTALLER_STATE_H_ 5 #ifndef CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_
6 #define CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_ 6 #define CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // A convenience method returning package_type() == MULTI_PACKAGE. 110 // A convenience method returning package_type() == MULTI_PACKAGE.
111 // TODO(grt): Eradicate the bool in favor of the enum. 111 // TODO(grt): Eradicate the bool in favor of the enum.
112 bool is_multi_install() const; 112 bool is_multi_install() const;
113 113
114 // A convenient method returning the presence of the 114 // A convenient method returning the presence of the
115 // --ensure-google-update-present switch. 115 // --ensure-google-update-present switch.
116 bool ensure_google_update_present() const { 116 bool ensure_google_update_present() const {
117 return ensure_google_update_present_; 117 return ensure_google_update_present_;
118 } 118 }
119 119
120 // A convenient method returning the need to create shortcuts for,
gab 2013/04/29 20:25:41 for(...?),
huangs 2013/04/30 14:01:49 Oops. Done.
121 // as specified by the --app-launcher switch.
122 bool create_app_launcher_shortcuts() const {
123 return create_app_launcher_shortcuts_;
124 }
125
120 // The full path to the place where the operand resides. 126 // The full path to the place where the operand resides.
121 const base::FilePath& target_path() const { return target_path_; } 127 const base::FilePath& target_path() const { return target_path_; }
122 128
123 // True if the "msi" preference is set or if a product with the "msi" state 129 // True if the "msi" preference is set or if a product with the "msi" state
124 // flag is set is to be operated on. 130 // flag is set is to be operated on.
125 bool is_msi() const { return msi_; } 131 bool is_msi() const { return msi_; }
126 132
127 // True if the --verbose-logging command-line flag is set or if the 133 // True if the --verbose-logging command-line flag is set or if the
128 // verbose_logging master preferences option is true. 134 // verbose_logging master preferences option is true.
129 bool verbose_logging() const { return verbose_logging_; } 135 bool verbose_logging() const { return verbose_logging_; }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 BrowserDistribution* multi_package_distribution_; 252 BrowserDistribution* multi_package_distribution_;
247 base::Version critical_update_version_; 253 base::Version critical_update_version_;
248 Level level_; 254 Level level_;
249 PackageType package_type_; 255 PackageType package_type_;
250 #if defined(OS_WIN) 256 #if defined(OS_WIN)
251 HKEY root_key_; 257 HKEY root_key_;
252 #endif 258 #endif
253 bool msi_; 259 bool msi_;
254 bool verbose_logging_; 260 bool verbose_logging_;
255 bool ensure_google_update_present_; 261 bool ensure_google_update_present_;
262 // TODO(huangs): Remove by M29.
263 bool create_app_launcher_shortcuts_;
256 264
257 private: 265 private:
258 DISALLOW_COPY_AND_ASSIGN(InstallerState); 266 DISALLOW_COPY_AND_ASSIGN(InstallerState);
259 }; // class InstallerState 267 }; // class InstallerState
260 268
261 } // namespace installer 269 } // namespace installer
262 270
263 #endif // CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_ 271 #endif // CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698