| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER
_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER
_H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER
_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GETTER
_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "content/public/browser/content_browser_client.h" | 14 #include "content/public/browser/content_browser_client.h" |
| 15 #include "content/shell/browser/shell_url_request_context_getter.h" | 15 #include "content/shell/browser/shell_url_request_context_getter.h" |
| 16 #include "net/url_request/url_request_job_factory.h" | 16 #include "net/url_request/url_request_job_factory.h" |
| 17 | 17 |
| 18 namespace base { | |
| 19 class MessageLoop; | |
| 20 } | |
| 21 | |
| 22 namespace net { | 18 namespace net { |
| 23 class HostResolver; | 19 class HostResolver; |
| 24 class MappedHostResolver; | |
| 25 class NetworkDelegate; | 20 class NetworkDelegate; |
| 26 class NetLog; | 21 class NetLog; |
| 27 class ProxyConfigService; | 22 class ProxyConfigService; |
| 28 class URLRequestContextStorage; | |
| 29 } | 23 } |
| 30 | 24 |
| 31 namespace content { | 25 namespace content { |
| 32 | 26 |
| 33 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter { | 27 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter { |
| 34 public: | 28 public: |
| 35 LayoutTestURLRequestContextGetter( | 29 LayoutTestURLRequestContextGetter( |
| 36 bool ignore_certificate_errors, | 30 bool ignore_certificate_errors, |
| 37 const base::FilePath& base_path, | 31 const base::FilePath& base_path, |
| 38 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, | 32 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 49 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; | 43 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; |
| 50 std::unique_ptr<net::ProxyService> GetProxyService() override; | 44 std::unique_ptr<net::ProxyService> GetProxyService() override; |
| 51 | 45 |
| 52 private: | 46 private: |
| 53 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); | 47 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); |
| 54 }; | 48 }; |
| 55 | 49 |
| 56 } // namespace content | 50 } // namespace content |
| 57 | 51 |
| 58 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ | 52 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ |
| OLD | NEW |