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

Unified Diff: android_webview/native/aw_contents_io_thread_client_impl.h

Issue 284123004: [android_webview] Add more params to request intercepting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix accidentally broken test Created 6 years, 6 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
Index: android_webview/native/aw_contents_io_thread_client_impl.h
diff --git a/android_webview/native/aw_contents_io_thread_client_impl.h b/android_webview/native/aw_contents_io_thread_client_impl.h
index c783b2b1330231940a0ddd5eace921ab7a447363..27ce4e51b3a2374210971140556912e4bb0d81a1 100644
--- a/android_webview/native/aw_contents_io_thread_client_impl.h
+++ b/android_webview/native/aw_contents_io_thread_client_impl.h
@@ -15,6 +15,7 @@
class GURL;
namespace content {
+class ResourceRequestInfo;
class WebContents;
}
@@ -24,7 +25,7 @@ class URLRequest;
namespace android_webview {
-class InterceptedRequestData;
+class AwWebResourceResponse;
class AwContentsIoThreadClientImpl : public AwContentsIoThreadClient {
public:
@@ -46,7 +47,7 @@ class AwContentsIoThreadClientImpl : public AwContentsIoThreadClient {
// Implementation of AwContentsIoThreadClient.
virtual bool PendingAssociation() const OVERRIDE;
virtual CacheMode GetCacheMode() const OVERRIDE;
- virtual scoped_ptr<InterceptedRequestData> ShouldInterceptRequest(
+ virtual scoped_ptr<AwWebResourceResponse> ShouldInterceptRequest(
const GURL& location,
const net::URLRequest* request) OVERRIDE;
virtual bool ShouldBlockContentUrls() const OVERRIDE;
« no previous file with comments | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_contents_io_thread_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698