Index: chrome/installer/util/app_command.h |
diff --git a/chrome/installer/util/app_command.h b/chrome/installer/util/app_command.h |
index 0ba0ea54c34a8d3433917bdf1d08a1e1bb31bf58..a1f668a6cca626cb1e13419761dcc4e98611b553 100644 |
--- a/chrome/installer/util/app_command.h |
+++ b/chrome/installer/util/app_command.h |
@@ -26,6 +26,9 @@ class AppCommand { |
public: |
AppCommand(); |
AppCommand(const std::wstring& command_line, bool send_pings, |
gab
2012/08/28 16:08:19
Use string16 instead of std::wstring (or presubmit
grt (UTC plus 2)
2012/08/28 19:35:40
since the command line is the only mandatory prope
huangs
2012/08/29 17:02:54
Done (std::wstring --> string16).
huangs
2012/08/29 17:02:54
Done (simplifying constructor; changed callers to
|
+ bool is_web_accessible, bool is_auto_run_on_os_upgrade); |
gab
2012/08/28 16:08:19
Why do you need anything, but |is_auto_run_on_os_u
huangs
2012/08/29 17:02:54
Made changes suggested by grt@.
|
+ // Ctor for code that don't use is_auto_run_on_os_upgrade. |
+ AppCommand(const std::wstring& command_line, bool send_pings, |
bool is_web_accessible); |
// The implicit dtor, copy ctor and assignment operator are desired. |
@@ -54,10 +57,16 @@ class AppCommand { |
is_web_accessible_ = is_web_accessible; |
} |
+ bool is_auto_run_on_os_upgrade() const { return is_auto_run_on_os_upgrade_; } |
+ void set_is_auto_run_on_os_upgrade(bool is_auto_run_on_os_upgrade) { |
+ is_auto_run_on_os_upgrade_ = is_auto_run_on_os_upgrade; |
+ } |
+ |
protected: |
std::wstring command_line_; |
bool sends_pings_; |
bool is_web_accessible_; |
+ bool is_auto_run_on_os_upgrade_; |
}; |
} // namespace installer |