| 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_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/android/jni_android.h" | 11 #include "base/android/jni_android.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 class HttpResponseHeaders; | 15 class HttpResponseHeaders; |
| 16 class NetworkDelegate; | |
| 17 class URLRequest; | 16 class URLRequest; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace android_webview { | 19 namespace android_webview { |
| 21 | 20 |
| 22 class InputStream; | 21 class InputStream; |
| 23 | 22 |
| 24 // This class represents the Java-side data that is to be used to complete a | 23 // This class represents the Java-side data that is to be used to complete a |
| 25 // particular URLRequest. | 24 // particular URLRequest. |
| 26 class AwWebResourceResponse { | 25 class AwWebResourceResponse { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 42 protected: | 41 protected: |
| 43 AwWebResourceResponse() {} | 42 AwWebResourceResponse() {} |
| 44 | 43 |
| 45 private: | 44 private: |
| 46 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponse); | 45 DISALLOW_COPY_AND_ASSIGN(AwWebResourceResponse); |
| 47 }; | 46 }; |
| 48 | 47 |
| 49 } // namespace android_webview | 48 } // namespace android_webview |
| 50 | 49 |
| 51 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ | 50 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |
| OLD | NEW |