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_view/internal/web_view_network_delegate.h" | 5 #include "ios/web_view/internal/web_view_network_delegate.h" |
6 | 6 |
7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
8 | 8 |
9 namespace ios_web_view { | 9 namespace ios_web_view { |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 const net::CookieList& cookie_list) { | 68 const net::CookieList& cookie_list) { |
69 return true; | 69 return true; |
70 } | 70 } |
71 | 71 |
72 bool WebViewNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, | 72 bool WebViewNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, |
73 const std::string& cookie_line, | 73 const std::string& cookie_line, |
74 net::CookieOptions* options) { | 74 net::CookieOptions* options) { |
75 return true; | 75 return true; |
76 } | 76 } |
77 | 77 |
78 bool WebViewNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, | 78 bool WebViewNetworkDelegate::OnCanAccessFile( |
79 const base::FilePath& path) const { | 79 const net::URLRequest& request, |
| 80 const base::FilePath& original_path, |
| 81 const base::FilePath& absolute_path) const { |
80 return true; | 82 return true; |
81 } | 83 } |
82 | 84 |
83 } // namespace ios_web_view | 85 } // namespace ios_web_view |
OLD | NEW |