Chromium Code Reviews| Index: components/network_hints/renderer/prescient_networking_dispatcher.cc |
| diff --git a/components/network_hints/renderer/prescient_networking_dispatcher.cc b/components/network_hints/renderer/prescient_networking_dispatcher.cc |
| index a5599c99b0aa80209042a3d7a35516e155ab386d..033e619abfa3e3c820b04abcf142a7232f382702 100644 |
| --- a/components/network_hints/renderer/prescient_networking_dispatcher.cc |
| +++ b/components/network_hints/renderer/prescient_networking_dispatcher.cc |
| @@ -25,8 +25,14 @@ void PrescientNetworkingDispatcher::prefetchDNS( |
| } |
| void PrescientNetworkingDispatcher::preconnect(const blink::WebURL& url) { |
| + VLOG(2) << "Preconnect: " << url.string().utf8(); |
| + preconnect_.Preconnect(url, true); |
| +} |
| + |
| +void PrescientNetworkingDispatcher::preconnect(const blink::WebURL& url, |
| + const bool allow_credentials) { |
|
Ryan Sleevi
2015/06/12 21:36:00
style
|
| VLOG(2) << "Preconnect: " << url.string().utf8(); |
| - preconnect_.Preconnect(url); |
| + preconnect_.Preconnect(url, allow_credentials); |
| } |
| } // namespace network_hints |