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

Unified Diff: components/network_hints/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/network_hints/renderer/prescient_networking_dispatcher.cc
diff --git a/components/dns_prefetch/renderer/prescient_networking_dispatcher.cc b/components/network_hints/renderer/prescient_networking_dispatcher.cc
similarity index 73%
rename from components/dns_prefetch/renderer/prescient_networking_dispatcher.cc
rename to components/network_hints/renderer/prescient_networking_dispatcher.cc
index 6ce8b667bacc47294bff7bad8db754d93a624bce..ee02f019e22ed235ec1dac3501aa07ec0360d3c6 100644
--- a/components/dns_prefetch/renderer/prescient_networking_dispatcher.cc
+++ b/components/network_hints/renderer/prescient_networking_dispatcher.cc
@@ -2,11 +2,11 @@
// 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 "components/network_hints/renderer/prescient_networking_dispatcher.h"
#include "base/logging.h"
-namespace dns_prefetch {
+namespace network_hints {
PrescientNetworkingDispatcher::PrescientNetworkingDispatcher() {
}
@@ -21,7 +21,7 @@ void PrescientNetworkingDispatcher::prefetchDNS(
return;
std::string hostname_utf8 = hostname.utf8();
- net_predictor_.Resolve(hostname_utf8.data(), hostname_utf8.length());
+ dns_prefetch_.Resolve(hostname_utf8.data(), hostname_utf8.length());
}
-} // namespace dns_prefetch
+} // namespace network_hints

Powered by Google App Engine
This is Rietveld 408576698