| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/net/chrome_network_delegate.h" | 5 #include "chrome/browser/net/chrome_network_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 9 #include "chrome/browser/extensions/extension_event_router_forwarder.h" | 9 #include "chrome/browser/extensions/extension_event_router_forwarder.h" |
| 10 #include "chrome/browser/extensions/extension_info_map.h" | 10 #include "chrome/browser/extensions/extension_info_map.h" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 ExtensionProxyEventRouter::GetInstance()->OnPACScriptError( | 169 ExtensionProxyEventRouter::GetInstance()->OnPACScriptError( |
| 170 event_router_.get(), profile_, line_number, error); | 170 event_router_.get(), profile_, line_number, error); |
| 171 } | 171 } |
| 172 | 172 |
| 173 net::NetworkDelegate::AuthRequiredResponse | 173 net::NetworkDelegate::AuthRequiredResponse |
| 174 ChromeNetworkDelegate::OnAuthRequired( | 174 ChromeNetworkDelegate::OnAuthRequired( |
| 175 net::URLRequest* request, | 175 net::URLRequest* request, |
| 176 const net::AuthChallengeInfo& auth_info, | 176 const net::AuthChallengeInfo& auth_info, |
| 177 const AuthCallback& callback, | 177 const AuthCallback& callback, |
| 178 net::AuthCredentials* credentials) { | 178 net::AuthCredentials* credentials) { |
| 179 ExtensionWebRequestEventRouter::GetInstance()->OnAuthRequired( | 179 return ExtensionWebRequestEventRouter::GetInstance()->OnAuthRequired( |
| 180 profile_, extension_info_map_.get(), request, auth_info); | 180 profile_, extension_info_map_.get(), request, auth_info, |
| 181 return net::NetworkDelegate::AUTH_REQUIRED_RESPONSE_NO_ACTION; | 181 callback, credentials); |
| 182 } | 182 } |
| OLD | NEW |