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

Unified Diff: omaha_request_action.h

Issue 6836025: Add support to update_engine to poke Omaha after an update has been applied (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: Change to use <ping> element with active=1 Created 9 years, 8 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 | « no previous file | omaha_request_action.cc » ('j') | update_attempter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | omaha_request_action.cc » ('j') | update_attempter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698