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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/base/network_delegate.h" | 9 #include "net/base/network_delegate.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 net::URLRequest* request, | 45 net::URLRequest* request, |
46 const net::AuthChallengeInfo& auth_info, | 46 const net::AuthChallengeInfo& auth_info, |
47 const AuthCallback& callback, | 47 const AuthCallback& callback, |
48 net::AuthCredentials* credentials) OVERRIDE; | 48 net::AuthCredentials* credentials) OVERRIDE; |
49 virtual bool OnCanGetCookies(const net::URLRequest& request, | 49 virtual bool OnCanGetCookies(const net::URLRequest& request, |
50 const net::CookieList& cookie_list) OVERRIDE; | 50 const net::CookieList& cookie_list) OVERRIDE; |
51 virtual bool OnCanSetCookie(const net::URLRequest& request, | 51 virtual bool OnCanSetCookie(const net::URLRequest& request, |
52 const std::string& cookie_line, | 52 const std::string& cookie_line, |
53 net::CookieOptions* options) OVERRIDE; | 53 net::CookieOptions* options) OVERRIDE; |
54 virtual bool OnCanAccessFile(const net::URLRequest& request, | 54 virtual bool OnCanAccessFile(const net::URLRequest& request, |
55 const FilePath& path) const OVERRIDE; | 55 const base::FilePath& path) const OVERRIDE; |
56 virtual bool OnCanThrottleRequest( | 56 virtual bool OnCanThrottleRequest( |
57 const net::URLRequest& request) const OVERRIDE; | 57 const net::URLRequest& request) const OVERRIDE; |
58 virtual int OnBeforeSocketStreamConnect( | 58 virtual int OnBeforeSocketStreamConnect( |
59 net::SocketStream* stream, | 59 net::SocketStream* stream, |
60 const net::CompletionCallback& callback) OVERRIDE; | 60 const net::CompletionCallback& callback) OVERRIDE; |
61 virtual void OnRequestWaitStateChange(const net::URLRequest& request, | 61 virtual void OnRequestWaitStateChange(const net::URLRequest& request, |
62 RequestWaitState state) OVERRIDE; | 62 RequestWaitState state) OVERRIDE; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); | 64 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace android_webview | 67 } // namespace android_webview |
68 | 68 |
69 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ | 69 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ |
OLD | NEW |