Index: android_webview/native/intercepted_request_data_impl.h |
diff --git a/android_webview/native/intercepted_request_data_impl.h b/android_webview/native/intercepted_request_data_impl.h |
index 598b31932105fb921a770842169e58103da9cbf8..d4bdf59abaf68beb57a242c065b145c17393f963 100644 |
--- a/android_webview/native/intercepted_request_data_impl.h |
+++ b/android_webview/native/intercepted_request_data_impl.h |
@@ -10,6 +10,10 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
+namespace net { |
+class HttpResponseHeaders; |
+} |
+ |
namespace android_webview { |
class InputStream; |
@@ -24,6 +28,12 @@ class InterceptedRequestDataImpl : public InterceptedRequestData { |
virtual scoped_ptr<InputStream> GetInputStream(JNIEnv* env) const OVERRIDE; |
virtual bool GetMimeType(JNIEnv* env, std::string* mime_type) const OVERRIDE; |
virtual bool GetCharset(JNIEnv* env, std::string* charset) const OVERRIDE; |
+ virtual bool GetStatusInfo(JNIEnv* env, |
+ int* status_code, |
+ std::string* reason_phrase) const OVERRIDE; |
+ virtual bool GetHeaders( |
+ JNIEnv* env, |
+ net::HttpResponseHeaders* headers) const OVERRIDE; |
private: |
base::android::ScopedJavaGlobalRef<jobject> java_object_; |