| 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 "net/proxy/proxy_script_fetcher_impl.h" | 5 #include "net/proxy/proxy_script_fetcher_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 scoped_refptr<HttpResponseHeaders>* override_response_headers, | 139 scoped_refptr<HttpResponseHeaders>* override_response_headers, |
| 140 GURL* allowed_unsafe_redirect_url) override { | 140 GURL* allowed_unsafe_redirect_url) override { |
| 141 return OK; | 141 return OK; |
| 142 } | 142 } |
| 143 | 143 |
| 144 void OnBeforeRedirect(URLRequest* request, | 144 void OnBeforeRedirect(URLRequest* request, |
| 145 const GURL& new_location) override {} | 145 const GURL& new_location) override {} |
| 146 | 146 |
| 147 void OnResponseStarted(URLRequest* request) override {} | 147 void OnResponseStarted(URLRequest* request) override {} |
| 148 | 148 |
| 149 void OnRawBytesRead(const URLRequest& request, int bytes_read) override {} | |
| 150 | |
| 151 void OnCompleted(URLRequest* request, bool started) override {} | 149 void OnCompleted(URLRequest* request, bool started) override {} |
| 152 | 150 |
| 153 void OnURLRequestDestroyed(URLRequest* request) override {} | 151 void OnURLRequestDestroyed(URLRequest* request) override {} |
| 154 | 152 |
| 155 void OnPACScriptError(int line_number, const base::string16& error) override { | 153 void OnPACScriptError(int line_number, const base::string16& error) override { |
| 156 } | 154 } |
| 157 | 155 |
| 158 NetworkDelegate::AuthRequiredResponse OnAuthRequired( | 156 NetworkDelegate::AuthRequiredResponse OnAuthRequired( |
| 159 URLRequest* request, | 157 URLRequest* request, |
| 160 const AuthChallengeInfo& auth_info, | 158 const AuthChallengeInfo& auth_info, |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 base::string16 text; | 473 base::string16 text; |
| 476 TestCompletionCallback callback; | 474 TestCompletionCallback callback; |
| 477 int result = pac_fetcher.Fetch(url, &text, callback.callback()); | 475 int result = pac_fetcher.Fetch(url, &text, callback.callback()); |
| 478 EXPECT_EQ(ERR_FAILED, result); | 476 EXPECT_EQ(ERR_FAILED, result); |
| 479 } | 477 } |
| 480 } | 478 } |
| 481 | 479 |
| 482 } // namespace | 480 } // namespace |
| 483 | 481 |
| 484 } // namespace net | 482 } // namespace net |
| OLD | NEW |