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_cookie_access_policy.h" | 7 #include "android_webview/browser/aw_cookie_access_policy.h" |
8 #include "base/android/build_info.h" | 8 #include "base/android/build_info.h" |
9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
10 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 int bytes_read) { | 60 int bytes_read) { |
61 } | 61 } |
62 | 62 |
63 void AwNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { | 63 void AwNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) { |
64 } | 64 } |
65 | 65 |
66 void AwNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { | 66 void AwNetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) { |
67 } | 67 } |
68 | 68 |
69 void AwNetworkDelegate::OnPACScriptError(int line_number, | 69 void AwNetworkDelegate::OnPACScriptError(int line_number, |
70 const string16& error) { | 70 const base::string16& error) { |
71 } | 71 } |
72 | 72 |
73 net::NetworkDelegate::AuthRequiredResponse AwNetworkDelegate::OnAuthRequired( | 73 net::NetworkDelegate::AuthRequiredResponse AwNetworkDelegate::OnAuthRequired( |
74 net::URLRequest* request, | 74 net::URLRequest* request, |
75 const net::AuthChallengeInfo& auth_info, | 75 const net::AuthChallengeInfo& auth_info, |
76 const AuthCallback& callback, | 76 const AuthCallback& callback, |
77 net::AuthCredentials* credentials) { | 77 net::AuthCredentials* credentials) { |
78 return AUTH_REQUIRED_RESPONSE_NO_ACTION; | 78 return AUTH_REQUIRED_RESPONSE_NO_ACTION; |
79 } | 79 } |
80 | 80 |
(...skipping 25 matching lines...) Expand all Loading... |
106 net::SocketStream* stream, | 106 net::SocketStream* stream, |
107 const net::CompletionCallback& callback) { | 107 const net::CompletionCallback& callback) { |
108 return net::OK; | 108 return net::OK; |
109 } | 109 } |
110 | 110 |
111 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, | 111 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, |
112 RequestWaitState state) { | 112 RequestWaitState state) { |
113 } | 113 } |
114 | 114 |
115 } // namespace android_webview | 115 } // namespace android_webview |
OLD | NEW |