Chromium Code Reviews| Index: omaha_request_action.h |
| diff --git a/omaha_request_action.h b/omaha_request_action.h |
| index 8749546b00465aaf94e7a3f9ae2973099f43e56e..1c65b7ca1e9f3338240b297bfcb53402e68574f7 100644 |
| --- a/omaha_request_action.h |
| +++ b/omaha_request_action.h |
| @@ -129,7 +129,8 @@ class OmahaRequestAction : public Action<OmahaRequestAction>, |
| OmahaRequestAction(PrefsInterface* prefs, |
| const OmahaRequestParams& params, |
| OmahaEvent* event, |
| - HttpFetcher* http_fetcher); |
| + HttpFetcher* http_fetcher, |
| + bool ping_only = false); |
|
adlr
2011/04/15 22:04:51
our style says we can't use default values.
thieule
2011/04/15 23:32:57
Done.
|
| virtual ~OmahaRequestAction(); |
| typedef ActionTraits<OmahaRequestAction>::InputObjectType InputObjectType; |
| typedef ActionTraits<OmahaRequestAction>::OutputObjectType OutputObjectType; |
| @@ -174,6 +175,9 @@ class OmahaRequestAction : public Action<OmahaRequestAction>, |
| // pointer to the HttpFetcher that does the http work |
| scoped_ptr<HttpFetcher> http_fetcher_; |
| + // If true, only include the <ping> element in the request. |
| + bool ping_only_; |
| + |
| // Stores the response from the omaha server |
| std::vector<char> response_buffer_; |