Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.cc |
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
| index b320a33ef9bc85aa1c530410c0dbfba60615b137..395dfa2b218018b07752d4ff7059ac38d2f6be1a 100644 |
| --- a/chrome/browser/profiles/profile_io_data.cc |
| +++ b/chrome/browser/profiles/profile_io_data.cc |
| @@ -80,6 +80,7 @@ |
| #include "content/public/browser/host_zoom_map.h" |
| #include "content/public/browser/notification_service.h" |
| #include "content/public/browser/resource_context.h" |
| +#include "content/public/common/content_switches.h" |
| #include "net/base/keygen_handler.h" |
| #include "net/cert/cert_verifier.h" |
| #include "net/cert/ct_log_verifier.h" |
| @@ -1029,6 +1030,11 @@ void ProfileIOData::Init( |
| main_request_context_->set_enable_brotli(io_thread_globals->enable_brotli); |
| + // TODO(estark): Remove this once the Referrer-Policy header is no |
| + // longer an experimental feature. https://crbug.com/619228 |
| + main_request_context_->set_enable_referrer_policy_header( |
|
jochen (gone - plz use gerrit)
2016/06/29 15:26:39
can we just turn this unconditionally on in conten
estark
2016/06/29 17:36:14
Why unconditionally? Would you be okay if I did it
estark
2016/06/29 17:45:10
(I went ahead and did that, let me know if there's
jochen (gone - plz use gerrit)
2016/06/29 19:36:16
It should be enabled for layout tests as they shou
jochen (gone - plz use gerrit)
2016/06/29 19:36:16
It should be enabled for layout tests as they shou
jochen (gone - plz use gerrit)
2016/06/29 19:36:16
It should be enabled for layout tests as they shou
estark
2016/06/29 20:09:08
Ah ok I see, I did that and added a layout test so
|
| + command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)); |
| + |
| std::unique_ptr<ChromeNetworkDelegate> network_delegate( |
| new ChromeNetworkDelegate( |
| #if defined(ENABLE_EXTENSIONS) |