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

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

Issue 10818021: Revert 147650 - Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1215/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
(...skipping 18 matching lines...) Expand all
30 class ChannelInfo; 30 class ChannelInfo;
31 class InstallationState; 31 class InstallationState;
32 class MasterPreferences; 32 class MasterPreferences;
33 33
34 class ProductState; 34 class ProductState;
35 35
36 typedef std::vector<Product*> Products; 36 typedef std::vector<Product*> Products;
37 37
38 // Encapsulates the state of the current installation operation. Only valid 38 // Encapsulates the state of the current installation operation. Only valid
39 // for installs and upgrades (not for uninstalls or non-install commands). 39 // for installs and upgrades (not for uninstalls or non-install commands).
40 // This class interprets the command-line arguments and master preferences and
41 // determines the operations to be performed. For example, the Chrome Binaries
42 // are automatically added if required in multi-install mode.
43 // TODO(erikwright): This is now used a fair bit during uninstall, and
44 // InstallerState::Initialize() contains a lot of code for uninstall. The class
45 // comment should probably be updated.
46 // TODO(grt): Rename to InstallerEngine/Conductor or somesuch? 40 // TODO(grt): Rename to InstallerEngine/Conductor or somesuch?
47 class InstallerState { 41 class InstallerState {
48 public: 42 public:
49 enum Level { 43 enum Level {
50 UNKNOWN_LEVEL, 44 UNKNOWN_LEVEL,
51 USER_LEVEL, 45 USER_LEVEL,
52 SYSTEM_LEVEL 46 SYSTEM_LEVEL
53 }; 47 };
54 48
55 enum PackageType { 49 enum PackageType {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 bool msi_; 228 bool msi_;
235 bool verbose_logging_; 229 bool verbose_logging_;
236 230
237 private: 231 private:
238 DISALLOW_COPY_AND_ASSIGN(InstallerState); 232 DISALLOW_COPY_AND_ASSIGN(InstallerState);
239 }; // class InstallerState 233 }; // class InstallerState
240 234
241 } // namespace installer 235 } // namespace installer
242 236
243 #endif // CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_ 237 #endif // CHROME_INSTALLER_UTIL_INSTALLER_STATE_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/installation_validator_unittest.cc ('k') | chrome/installer/util/installer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698