Remove unused OmahaResponseHandlerAction::GotNoUpdateResponse().
Test: mma
Change-Id: Ie58c532cd0e642065209583bc673274a52836fce
diff --git a/omaha_response_handler_action.cc b/omaha_response_handler_action.cc
index 770f898..5a1d7b1 100644
--- a/omaha_response_handler_action.cc
+++ b/omaha_response_handler_action.cc
@@ -48,7 +48,6 @@
OmahaResponseHandlerAction::OmahaResponseHandlerAction(
SystemState* system_state, const string& deadline_file)
: system_state_(system_state),
- got_no_update_response_(false),
key_path_(constants::kUpdatePayloadPublicKeyPath),
deadline_file_(deadline_file) {}
@@ -57,7 +56,6 @@
ScopedActionCompleter completer(processor_, this);
const OmahaResponse& response = GetInputObject();
if (!response.update_exists) {
- got_no_update_response_ = true;
LOG(INFO) << "There are no updates. Aborting.";
completer.set_code(ErrorCode::kNoUpdate);
return;
diff --git a/omaha_response_handler_action.h b/omaha_response_handler_action.h
index 2974841..63c7b2d 100644
--- a/omaha_response_handler_action.h
+++ b/omaha_response_handler_action.h
@@ -54,7 +54,6 @@
// never be called
void TerminateProcessing() override { CHECK(false); }
- bool GotNoUpdateResponse() const { return got_no_update_response_; }
const InstallPlan& install_plan() const { return install_plan_; }
// Debugging/logging
@@ -73,9 +72,6 @@
// The install plan, if we have an update.
InstallPlan install_plan_;
- // 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_;