| 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_contents_io_thread_client.h" | 7 #include "android_webview/browser/aw_contents_io_thread_client.h" |
| 8 #include "android_webview/browser/aw_cookie_access_policy.h" | 8 #include "android_webview/browser/aw_cookie_access_policy.h" |
| 9 #include "base/android/build_info.h" | 9 #include "base/android/build_info.h" |
| 10 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 return net::OK; | 69 return net::OK; |
| 70 } | 70 } |
| 71 | 71 |
| 72 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, | 72 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, |
| 73 const GURL& new_location) { | 73 const GURL& new_location) { |
| 74 } | 74 } |
| 75 | 75 |
| 76 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { | 76 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { |
| 77 } | 77 } |
| 78 | 78 |
| 79 void AwNetworkDelegate::OnRawBytesRead(const net::URLRequest& request, | |
| 80 int bytes_read) { | |
| 81 } | |
| 82 | |
| 83 void AwNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { | 79 void AwNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { |
| 84 } | 80 } |
| 85 | 81 |
| 86 void AwNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { | 82 void AwNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { |
| 87 } | 83 } |
| 88 | 84 |
| 89 void AwNetworkDelegate::OnPACScriptError(int line_number, | 85 void AwNetworkDelegate::OnPACScriptError(int line_number, |
| 90 const base::string16& error) { | 86 const base::string16& error) { |
| 91 } | 87 } |
| 92 | 88 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 111 cookie_line, | 107 cookie_line, |
| 112 options); | 108 options); |
| 113 } | 109 } |
| 114 | 110 |
| 115 bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, | 111 bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
| 116 const base::FilePath& path) const { | 112 const base::FilePath& path) const { |
| 117 return true; | 113 return true; |
| 118 } | 114 } |
| 119 | 115 |
| 120 } // namespace android_webview | 116 } // namespace android_webview |
| OLD | NEW |