| 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 net { | 18 namespace net { |
| 19 class HostResolver; | |
| 20 class NetworkDelegate; | 19 class NetworkDelegate; |
| 21 class NetLog; | 20 class NetLog; |
| 22 class ProxyConfigService; | 21 class ProxyConfigService; |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace content { | 24 namespace content { |
| 26 | 25 |
| 27 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter { | 26 class LayoutTestURLRequestContextGetter : public ShellURLRequestContextGetter { |
| 28 public: | 27 public: |
| 29 LayoutTestURLRequestContextGetter( | 28 LayoutTestURLRequestContextGetter( |
| (...skipping 13 matching lines...) Expand all Loading... |
| 43 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; | 42 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; |
| 44 std::unique_ptr<net::ProxyService> GetProxyService() override; | 43 std::unique_ptr<net::ProxyService> GetProxyService() override; |
| 45 | 44 |
| 46 private: | 45 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); | 46 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 } // namespace content | 49 } // namespace content |
| 51 | 50 |
| 52 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ | 51 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ |
| OLD | NEW |