diff options
Diffstat (limited to 'android_webview/browser/aw_request_interceptor.cc')
-rw-r--r-- | android_webview/browser/aw_request_interceptor.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/android_webview/browser/aw_request_interceptor.cc b/android_webview/browser/aw_request_interceptor.cc index 381a8ab..45adfb6 100644 --- a/android_webview/browser/aw_request_interceptor.cc +++ b/android_webview/browser/aw_request_interceptor.cc @@ -36,7 +36,6 @@ AwRequestInterceptor::~AwRequestInterceptor() { scoped_ptr<AwWebResourceResponse> AwRequestInterceptor::QueryForAwWebResourceResponse( - const GURL& location, net::URLRequest* request) const { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); int render_process_id, render_frame_id; @@ -50,7 +49,7 @@ AwRequestInterceptor::QueryForAwWebResourceResponse( if (!io_thread_client.get()) return scoped_ptr<AwWebResourceResponse>(); - return io_thread_client->ShouldInterceptRequest(location, request).Pass(); + return io_thread_client->ShouldInterceptRequest(request).Pass(); } net::URLRequestJob* AwRequestInterceptor::MaybeInterceptRequest( @@ -71,7 +70,7 @@ net::URLRequestJob* AwRequestInterceptor::MaybeInterceptRequest( new base::SupportsUserData::Data()); scoped_ptr<AwWebResourceResponse> aw_web_resource_response = - QueryForAwWebResourceResponse(request->url(), request); + QueryForAwWebResourceResponse(request); if (!aw_web_resource_response) return NULL; |