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

Unified Diff: components/dns_prefetch/renderer/prescient_networking_dispatcher.cc

Issue 848303005: Renamed the dns_prefetch component to network_predictor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/dns_prefetch/renderer/prescient_networking_dispatcher.cc
diff --git a/components/dns_prefetch/renderer/prescient_networking_dispatcher.cc b/components/dns_prefetch/renderer/prescient_networking_dispatcher.cc
deleted file mode 100644
index 6ce8b667bacc47294bff7bad8db754d93a624bce..0000000000000000000000000000000000000000
--- a/components/dns_prefetch/renderer/prescient_networking_dispatcher.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/dns_prefetch/renderer/prescient_networking_dispatcher.h"
-
-#include "base/logging.h"
-
-namespace dns_prefetch {
-
-PrescientNetworkingDispatcher::PrescientNetworkingDispatcher() {
-}
-
-PrescientNetworkingDispatcher::~PrescientNetworkingDispatcher() {
-}
-
-void PrescientNetworkingDispatcher::prefetchDNS(
- const blink::WebString& hostname) {
- VLOG(2) << "Prefetch DNS: " << hostname.utf8();
- if (hostname.isEmpty())
- return;
-
- std::string hostname_utf8 = hostname.utf8();
- net_predictor_.Resolve(hostname_utf8.data(), hostname_utf8.length());
-}
-
-} // namespace dns_prefetch

Powered by Google App Engine
This is Rietveld 408576698