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(); } |