summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorpmeenan <pmeenan@chromium.org>2015-01-30 13:59:59 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-30 22:00:53 +0000
commited4b6f8b7392eb64fc664aa49f2627ecb5fdc073 (patch)
treec41b78ef68d5d37d5ec28ecaaa4037607524060d /chrome/browser/net
parent7a47c4214a06aa1778ced28dc6c57658326bbf3d (diff)
downloadchromium_src-ed4b6f8b7392eb64fc664aa49f2627ecb5fdc073.zip
chromium_src-ed4b6f8b7392eb64fc664aa49f2627ecb5fdc073.tar.gz
chromium_src-ed4b6f8b7392eb64fc664aa49f2627ecb5fdc073.tar.bz2
Renamed the dns_prefetch component to network_predictor
This is in preparation for adding preconnect support which goes through the same underlying plumbing. dns_prefetch was too restrictive of a component name and was only exposing the single method. There are no functionality changes in this CL, just the rename (the namespace was also renamed) BUG=450682 Review URL: https://codereview.chromium.org/848303005 Cr-Commit-Position: refs/heads/master@{#314001}
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/predictor.h6
-rw-r--r--chrome/browser/net/predictor_unittest.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 2cb01a9..d1983e3 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -32,7 +32,7 @@
#include "chrome/browser/net/referrer.h"
#include "chrome/browser/net/timed_cache.h"
#include "chrome/browser/net/url_info.h"
-#include "components/dns_prefetch/common/prefetch_common.h"
+#include "components/network_hints/common/network_hints_common.h"
#include "net/base/host_port_pair.h"
class IOThread;
@@ -59,8 +59,8 @@ class PrefRegistrySyncable;
namespace chrome_browser_net {
-typedef dns_prefetch::UrlList UrlList;
-typedef dns_prefetch::NameList NameList;
+typedef network_hints::UrlList UrlList;
+typedef network_hints::NameList NameList;
typedef std::map<GURL, UrlInfo> Results;
// An observer for testing.
diff --git a/chrome/browser/net/predictor_unittest.cc b/chrome/browser/net/predictor_unittest.cc
index 4fa7dd9..0a76862 100644
--- a/chrome/browser/net/predictor_unittest.cc
+++ b/chrome/browser/net/predictor_unittest.cc
@@ -15,7 +15,7 @@
#include "base/values.h"
#include "chrome/browser/net/predictor.h"
#include "chrome/browser/net/url_info.h"
-#include "components/dns_prefetch/common/prefetch_common.h"
+#include "components/network_hints/common/network_hints_common.h"
#include "content/public/test/test_browser_thread.h"
#include "net/base/address_list.h"
#include "net/base/load_flags.h"