Index: omaha_response_handler_action.h |
diff --git a/omaha_response_handler_action.h b/omaha_response_handler_action.h |
index 25c57e0e1d297e3e4883fceb7cd92f43f781d1ee..178513823e5fa9ad81bf08858f3e89416bf00b76 100644 |
--- a/omaha_response_handler_action.h |
+++ b/omaha_response_handler_action.h |
@@ -29,9 +29,7 @@ class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> { |
public: |
static const char kDeadlineFile[]; |
- OmahaResponseHandlerAction(PrefsInterface* prefs) |
- : prefs_(prefs), |
- got_no_update_response_(false) {} |
+ OmahaResponseHandlerAction(PrefsInterface* prefs); |
typedef ActionTraits<OmahaResponseHandlerAction>::InputObjectType |
InputObjectType; |
typedef ActionTraits<OmahaResponseHandlerAction>::OutputObjectType |
@@ -53,6 +51,7 @@ class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> { |
// Debugging/logging |
static std::string StaticType() { return "OmahaResponseHandlerAction"; } |
std::string Type() const { return StaticType(); } |
+ void set_key_path(const std::string& path) { key_path_ = path; } |
private: |
// Assumes you want to install on the "other" device, where the other |
@@ -74,6 +73,9 @@ class OmahaResponseHandlerAction : public Action<OmahaResponseHandlerAction> { |
// True only if we got a response and the response said no updates |
bool got_no_update_response_; |
+ // Public key path to use for payload verification. |
+ std::string key_path_; |
+ |
DISALLOW_COPY_AND_ASSIGN(OmahaResponseHandlerAction); |
}; |