| 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 #include "ios/web/shell/shell_network_delegate.h" | 5 #include "ios/web/shell/shell_network_delegate.h" |
| 6 | 6 |
| 7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
| 8 | 8 |
| 9 namespace web { | 9 namespace web { |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 return net::OK; | 42 return net::OK; |
| 43 } | 43 } |
| 44 | 44 |
| 45 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, | 45 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, |
| 46 const GURL& new_location) { | 46 const GURL& new_location) { |
| 47 } | 47 } |
| 48 | 48 |
| 49 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { | 49 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { |
| 50 } | 50 } |
| 51 | 51 |
| 52 void ShellNetworkDelegate::OnRawBytesRead(const net::URLRequest& request, | |
| 53 int bytes_read) { | |
| 54 } | |
| 55 | |
| 56 void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { | 52 void ShellNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { |
| 57 } | 53 } |
| 58 | 54 |
| 59 void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { | 55 void ShellNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { |
| 60 } | 56 } |
| 61 | 57 |
| 62 void ShellNetworkDelegate::OnPACScriptError(int line_number, | 58 void ShellNetworkDelegate::OnPACScriptError(int line_number, |
| 63 const base::string16& error) { | 59 const base::string16& error) { |
| 64 } | 60 } |
| 65 | 61 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 81 net::CookieOptions* options) { | 77 net::CookieOptions* options) { |
| 82 return true; | 78 return true; |
| 83 } | 79 } |
| 84 | 80 |
| 85 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, | 81 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, |
| 86 const base::FilePath& path) const { | 82 const base::FilePath& path) const { |
| 87 return true; | 83 return true; |
| 88 } | 84 } |
| 89 | 85 |
| 90 } // namespace web | 86 } // namespace web |
| OLD | NEW |