| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 const net::CookieList& cookie_list) { | 71 const net::CookieList& cookie_list) { |
| 72 return true; | 72 return true; |
| 73 } | 73 } |
| 74 | 74 |
| 75 bool ShellNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, | 75 bool ShellNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, |
| 76 const std::string& cookie_line, | 76 const std::string& cookie_line, |
| 77 net::CookieOptions* options) { | 77 net::CookieOptions* options) { |
| 78 return true; | 78 return true; |
| 79 } | 79 } |
| 80 | 80 |
| 81 bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, | 81 bool ShellNetworkDelegate::OnCanAccessFile( |
| 82 const base::FilePath& path) const { | 82 const net::URLRequest& request, |
| 83 const base::FilePath& original_path, |
| 84 const base::FilePath& absolute_path) const { |
| 83 return true; | 85 return true; |
| 84 } | 86 } |
| 85 | 87 |
| 86 } // namespace web | 88 } // namespace web |
| OLD | NEW |