Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Side by Side Diff: chrome/renderer/net/prescient_networking_dispatcher.cc

Issue 14749005: Implement WebPrescientNetworking to trigger preconnect from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698