| Index: omaha_request_action.h
|
| diff --git a/omaha_request_action.h b/omaha_request_action.h
|
| index 948bcc7f4282fd2b8e9551decb05390c5e95d7cb..8749546b00465aaf94e7a3f9ae2973099f43e56e 100644
|
| --- a/omaha_request_action.h
|
| +++ b/omaha_request_action.h
|
| @@ -150,6 +150,8 @@ class OmahaRequestAction : public Action<OmahaRequestAction>,
|
| // Returns true if this is an Event request, false if it's an UpdateCheck.
|
| bool IsEvent() const { return event_.get() != NULL; }
|
|
|
| + void set_should_skip(bool should_skip) { should_skip_ = should_skip; }
|
| +
|
| private:
|
| // If this is an update check request, initializes
|
| // |ping_active_days_| and |ping_roll_call_days_| to values that may
|
| @@ -181,6 +183,9 @@ class OmahaRequestAction : public Action<OmahaRequestAction>,
|
| int ping_active_days_;
|
| int ping_roll_call_days_;
|
|
|
| + // If true, this action should be a noop.
|
| + bool should_skip_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(OmahaRequestAction);
|
| };
|
|
|
|
|