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 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/base/network_delegate_impl.h" | 9 #include "net/base/network_delegate_impl.h" |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 net::URLRequest* request, | 52 net::URLRequest* request, |
53 const net::AuthChallengeInfo& auth_info, | 53 const net::AuthChallengeInfo& auth_info, |
54 const AuthCallback& callback, | 54 const AuthCallback& callback, |
55 net::AuthCredentials* credentials) override; | 55 net::AuthCredentials* credentials) override; |
56 bool OnCanGetCookies(const net::URLRequest& request, | 56 bool OnCanGetCookies(const net::URLRequest& request, |
57 const net::CookieList& cookie_list) override; | 57 const net::CookieList& cookie_list) override; |
58 bool OnCanSetCookie(const net::URLRequest& request, | 58 bool OnCanSetCookie(const net::URLRequest& request, |
59 const std::string& cookie_line, | 59 const std::string& cookie_line, |
60 net::CookieOptions* options) override; | 60 net::CookieOptions* options) override; |
61 bool OnCanAccessFile(const net::URLRequest& request, | 61 bool OnCanAccessFile(const net::URLRequest& request, |
62 const base::FilePath& path) const override; | 62 const base::FilePath& original_path, |
| 63 const base::FilePath& absolute_path) const override; |
63 | 64 |
64 // Used to filter URL requests. Owned by AwBrowserContext. | 65 // Used to filter URL requests. Owned by AwBrowserContext. |
65 const policy::URLBlacklistManager* url_blacklist_manager_; | 66 const policy::URLBlacklistManager* url_blacklist_manager_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); | 68 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace android_webview | 71 } // namespace android_webview |
71 | 72 |
72 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ | 73 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ |
OLD | NEW |