| 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" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 URLRequestInterceptorScopedVector request_interceptors, | 41 URLRequestInterceptorScopedVector request_interceptors, |
| 42 net::NetLog* net_log); | 42 net::NetLog* net_log); |
| 43 | 43 |
| 44 protected: | 44 protected: |
| 45 ~LayoutTestURLRequestContextGetter() override; | 45 ~LayoutTestURLRequestContextGetter() override; |
| 46 | 46 |
| 47 // ShellURLRequestContextGetter implementation. | 47 // ShellURLRequestContextGetter implementation. |
| 48 std::unique_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; | 48 std::unique_ptr<net::NetworkDelegate> CreateNetworkDelegate() override; |
| 49 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; | 49 std::unique_ptr<net::ProxyConfigService> GetProxyConfigService() override; |
| 50 std::unique_ptr<net::ProxyService> GetProxyService() override; | 50 std::unique_ptr<net::ProxyService> GetProxyService() override; |
| 51 bool ShouldEnableReferrerPolicyHeader() override; | |
| 52 | 51 |
| 53 private: | 52 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); | 53 DISALLOW_COPY_AND_ASSIGN(LayoutTestURLRequestContextGetter); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace content | 56 } // namespace content |
| 58 | 57 |
| 59 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ | 58 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_URL_REQUEST_CONTEXT_GET
TER_H_ |
| OLD | NEW |