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 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett
er.h" | 5 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett
er.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 std::unique_ptr<net::ProxyConfigService> | 46 std::unique_ptr<net::ProxyConfigService> |
47 LayoutTestURLRequestContextGetter::GetProxyConfigService() { | 47 LayoutTestURLRequestContextGetter::GetProxyConfigService() { |
48 return nullptr; | 48 return nullptr; |
49 } | 49 } |
50 | 50 |
51 std::unique_ptr<net::ProxyService> | 51 std::unique_ptr<net::ProxyService> |
52 LayoutTestURLRequestContextGetter::GetProxyService() { | 52 LayoutTestURLRequestContextGetter::GetProxyService() { |
53 return net::ProxyService::CreateDirect(); | 53 return net::ProxyService::CreateDirect(); |
54 } | 54 } |
55 | 55 |
| 56 bool LayoutTestURLRequestContextGetter::ShouldEnableReferrerPolicyHeader() { |
| 57 return true; |
| 58 } |
| 59 |
56 } // namespace content | 60 } // namespace content |
OLD | NEW |