| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "android_webview/browser/net/aw_web_resource_response.h" | 10 #include "android_webview/browser/net/aw_web_resource_response.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 std::string* reason_phrase) const override; | 35 std::string* reason_phrase) const override; |
| 36 bool GetResponseHeaders(JNIEnv* env, | 36 bool GetResponseHeaders(JNIEnv* env, |
| 37 net::HttpResponseHeaders* headers) const override; | 37 net::HttpResponseHeaders* headers) const override; |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 40 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponseImpl); | 42 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponseImpl); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 bool RegisterAwWebResourceResponse(JNIEnv* env); | |
| 46 | |
| 47 } // namespace android_webview | 45 } // namespace android_webview |
| 48 | 46 |
| 49 #endif // ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ | 47 #endif // ANDROID_WEBVIEW_NATIVE_INTERCEPTED_REQUEST_DATA_IMPL_H_ |
| OLD | NEW |