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

Unified Diff: chrome/installer/util/installation_state.h

Issue 6588003: Add support for the quick-enable-cf command to the installer. This encompase... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/installation_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installation_state.h
===================================================================
--- chrome/installer/util/installation_state.h (revision 76747)
+++ chrome/installer/util/installation_state.h (working copy)
@@ -12,11 +12,18 @@
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/scoped_ptr.h"
+#include "chrome/installer/util/app_commands.h"
#include "chrome/installer/util/browser_distribution.h"
#include "chrome/installer/util/channel_info.h"
class Version;
+namespace base {
+namespace win {
+class RegKey;
+}
+}
+
namespace installer {
class InstallationState;
@@ -64,15 +71,22 @@
// True if |uninstall_command| contains --multi-install.
bool is_multi_install() const { return multi_install_; }
+ // Returns the set of Google Update commands.
+ const AppCommands& commands() const { return commands_; }
+
// Returns this object a la operator=().
ProductState& CopyFrom(const ProductState& other);
protected:
+ static bool InitializeCommands(const base::win::RegKey& version_key,
+ AppCommands* commands);
+
ChannelInfo channel_;
scoped_ptr<Version> version_;
scoped_ptr<Version> old_version_;
std::wstring rename_cmd_;
CommandLine uninstall_command_;
+ AppCommands commands_;
bool msi_;
bool multi_install_;
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/installation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698