OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/renderer/net/prescient_networking_dispatcher.h" |
| 6 |
| 7 #include "chrome/common/render_messages.h" |
| 8 #include "content/public/renderer/render_thread.h" |
| 9 |
| 10 using WebKit::WebPrescientNetworking; |
| 11 |
| 12 PrescientNetworkingDispatcher::~PrescientNetworkingDispatcher() { |
| 13 } |
| 14 |
| 15 void PrescientNetworkingDispatcher::preconnect( |
| 16 const WebKit::WebURL& url, |
| 17 WebKit::WebPreconnectMotivation motivation) { |
| 18 // FIXME(kouhei) actual pre-connecting is currently disabled. |
| 19 // This should shortly be enabled via Finch field trials in upcoming patch. |
| 20 // content::RenderThread::Get()->Send(new ChromeViewHostMsg_Preconnect(url)); |
| 21 } |
| 22 |
OLD | NEW |