| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "android_webview/browser/net/aw_network_delegate.h" | 5 #include "android_webview/browser/net/aw_network_delegate.h" |
| 6 | 6 |
| 7 #include "android_webview/browser/aw_cookie_access_policy.h" | 7 #include "android_webview/browser/aw_cookie_access_policy.h" |
| 8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
| 9 #include "net/base/completion_callback.h" | 9 #include "net/base/completion_callback.h" |
| 10 #include "net/url_request/url_request.h" | 10 #include "net/url_request/url_request.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 return net::OK; | 31 return net::OK; |
| 32 } | 32 } |
| 33 | 33 |
| 34 void AwNetworkDelegate::OnSendHeaders(net::URLRequest* request, | 34 void AwNetworkDelegate::OnSendHeaders(net::URLRequest* request, |
| 35 const net::HttpRequestHeaders& headers) { | 35 const net::HttpRequestHeaders& headers) { |
| 36 } | 36 } |
| 37 | 37 |
| 38 int AwNetworkDelegate::OnHeadersReceived( | 38 int AwNetworkDelegate::OnHeadersReceived( |
| 39 net::URLRequest* request, | 39 net::URLRequest* request, |
| 40 const net::CompletionCallback& callback, | 40 const net::CompletionCallback& callback, |
| 41 net::HttpResponseHeaders* original_response_headers, | 41 const net::HttpResponseHeaders* original_response_headers, |
| 42 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) { | 42 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) { |
| 43 return net::OK; | 43 return net::OK; |
| 44 } | 44 } |
| 45 | 45 |
| 46 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, | 46 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, |
| 47 const GURL& new_location) { | 47 const GURL& new_location) { |
| 48 } | 48 } |
| 49 | 49 |
| 50 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { | 50 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { |
| 51 } | 51 } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 net::SocketStream* stream, | 100 net::SocketStream* stream, |
| 101 const net::CompletionCallback& callback) { | 101 const net::CompletionCallback& callback) { |
| 102 return net::OK; | 102 return net::OK; |
| 103 } | 103 } |
| 104 | 104 |
| 105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, | 105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, |
| 106 RequestWaitState state) { | 106 RequestWaitState state) { |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace android_webview | 109 } // namespace android_webview |
| OLD | NEW |