Chromium Code Reviews| Index: android_webview/browser/net/aw_web_resource_response.h |
| diff --git a/android_webview/browser/aw_web_resource_response.h b/android_webview/browser/net/aw_web_resource_response.h |
| similarity index 67% |
| rename from android_webview/browser/aw_web_resource_response.h |
| rename to android_webview/browser/net/aw_web_resource_response.h |
| index 34963606ff86b882915ab31b641e2f0cb9369293..15a3353cb8149b8c96b268761b91326ea3bf3ed8 100644 |
| --- a/android_webview/browser/aw_web_resource_response.h |
| +++ b/android_webview/browser/net/aw_web_resource_response.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef ANDROID_WEBVIEW_BROWSER_INTERCEPTED_REQUEST_DATA_H_ |
| -#define ANDROID_WEBVIEW_BROWSER_INTERCEPTED_REQUEST_DATA_H_ |
| +#ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |
| +#define ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |
| #include <string> |
| @@ -14,11 +14,11 @@ namespace net { |
| class HttpResponseHeaders; |
| class NetworkDelegate; |
| class URLRequest; |
| -class URLRequestJob; |
| } |
| namespace android_webview { |
| +class AndroidStreamReaderURLRequestJob; |
|
boliu
2015/09/30 00:43:20
not needed I think
mnaganov (inactive)
2015/09/30 18:05:30
Done.
|
| class InputStream; |
| // This class represents the Java-side data that is to be used to complete a |
| @@ -39,15 +39,6 @@ class AwWebResourceResponse { |
| JNIEnv* env, |
| net::HttpResponseHeaders* headers) const = 0; |
| - // This creates a URLRequestJob for the |request| wich will read data from |
| - // the |aw_web_resource_response| structure (instead of going to the network |
| - // or to the cache). |
| - // The newly created job takes ownership of |aw_web_resource_response|. |
| - static net::URLRequestJob* CreateJobFor( |
| - scoped_ptr<AwWebResourceResponse> aw_web_resource_response, |
| - net::URLRequest* request, |
| - net::NetworkDelegate* network_delegate); |
| - |
| protected: |
| AwWebResourceResponse() {} |
| @@ -57,4 +48,4 @@ class AwWebResourceResponse { |
| } // namespace android_webview |
| -#endif // ANDROID_WEBVIEW_BROWSER_INTERCEPTED_REQUEST_DATA_H_ |
| +#endif // ANDROID_WEBVIEW_BROWSER_NET_AW_WEB_RESOURCE_RESPONSE_H_ |