summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/intercept_download_resource_throttle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/intercept_download_resource_throttle.cc')
-rw-r--r--chrome/browser/android/intercept_download_resource_throttle.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
index 5700ff9..d29010d 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -33,6 +33,10 @@ void InterceptDownloadResourceThrottle::WillProcessResponse(bool* defer) {
ProcessDownloadRequest();
}
+const char* InterceptDownloadResourceThrottle::GetNameForLogging() const {
+ return "InterceptDownloadResourceThrottle";
+}
+
void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
if (request_->method() != net::HttpRequestHeaders::kGetMethod ||
request_->response_info().did_use_http_auth)
@@ -50,4 +54,4 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
controller()->Cancel();
}
-} // namespace
+} // namespace chrome