diff options
Diffstat (limited to 'chrome/browser/android')
-rw-r--r-- | chrome/browser/android/intercept_download_resource_throttle.cc | 6 | ||||
-rw-r--r-- | chrome/browser/android/intercept_download_resource_throttle.h | 3 |
2 files changed, 7 insertions, 2 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 diff --git a/chrome/browser/android/intercept_download_resource_throttle.h b/chrome/browser/android/intercept_download_resource_throttle.h index a42a502..8b14d74 100644 --- a/chrome/browser/android/intercept_download_resource_throttle.h +++ b/chrome/browser/android/intercept_download_resource_throttle.h @@ -27,6 +27,7 @@ class InterceptDownloadResourceThrottle : public content::ResourceThrottle { // content::ResourceThrottle implementation: virtual void WillStartRequest(bool* defer) OVERRIDE; virtual void WillProcessResponse(bool* defer) OVERRIDE; + virtual const char* GetNameForLogging() const OVERRIDE; private: virtual ~InterceptDownloadResourceThrottle(); @@ -41,6 +42,6 @@ class InterceptDownloadResourceThrottle : public content::ResourceThrottle { DISALLOW_COPY_AND_ASSIGN(InterceptDownloadResourceThrottle); }; -} // namespace +} // namespace chrome #endif // CHROME_BROWSER_ANDROID_INTERCEPT_DOWNLOAD_RESOURCE_THROTTLE_H_ |