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_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_contents_client_bridge_base.h" | 8 #include "android_webview/browser/aw_contents_client_bridge_base.h" |
9 #include "android_webview/browser/aw_contents_io_thread_client.h" | 9 #include "android_webview/browser/aw_contents_io_thread_client.h" |
10 #include "android_webview/browser/aw_cookie_access_policy.h" | 10 #include "android_webview/browser/aw_cookie_access_policy.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 } | 140 } |
141 | 141 |
142 bool AwNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, | 142 bool AwNetworkDelegate::OnCanSetCookie(const net::URLRequest& request, |
143 const std::string& cookie_line, | 143 const std::string& cookie_line, |
144 net::CookieOptions* options) { | 144 net::CookieOptions* options) { |
145 return AwCookieAccessPolicy::GetInstance()->OnCanSetCookie(request, | 145 return AwCookieAccessPolicy::GetInstance()->OnCanSetCookie(request, |
146 cookie_line, | 146 cookie_line, |
147 options); | 147 options); |
148 } | 148 } |
149 | 149 |
150 bool AwNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, | 150 bool AwNetworkDelegate::OnCanAccessFile( |
151 const base::FilePath& path) const { | 151 const net::URLRequest& request, |
| 152 const base::FilePath& original_path, |
| 153 const base::FilePath& absolute_path) const { |
152 return true; | 154 return true; |
153 } | 155 } |
154 | 156 |
155 } // namespace android_webview | 157 } // namespace android_webview |
OLD | NEW |