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

Unified Diff: download_action.h

Issue 3215006: AU: Implement exponential back off for 500 and 503 HTTP response codes. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: elaborate on the CHECK Created 10 years, 4 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 | « SConstruct ('k') | main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: download_action.h
diff --git a/download_action.h b/download_action.h
index a46124f0d2253b517a75525f97242bdaa6acc11d..189121b9d175bcc797a9721bbe2a0a62edd59fcf 100644
--- a/download_action.h
+++ b/download_action.h
@@ -76,6 +76,8 @@ class DownloadAction : public Action<DownloadAction>,
writer_ = writer;
}
+ int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); }
+
// Debugging/logging
static std::string StaticType() { return "DownloadAction"; }
std::string Type() const { return StaticType(); }
« no previous file with comments | « SConstruct ('k') | main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698