summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:12:49 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:12:49 +0000
commit74be069e808f687ab33d7bec52d1c9687af1b3ec (patch)
tree9b830fa01634cb18cd886ea8758cf62e747fc480 /chrome/browser/io_thread.h
parentd07f0c801dbb2fdb6fcfaa671afa13400a615c85 (diff)
downloadchromium_src-74be069e808f687ab33d7bec52d1c9687af1b3ec.zip
chromium_src-74be069e808f687ab33d7bec52d1c9687af1b3ec.tar.gz
chromium_src-74be069e808f687ab33d7bec52d1c9687af1b3ec.tar.bz2
Change classes and functions for DNS Prefetching to Predictor*
The DNS prefetching system has been extended to handle TCP/IP preconnection. As a result, class names and function names will be migrated to variations on Predictor* and Predict* to better indicate functionality. This change is only meant to include name changes, comment updates, and no semantic changes. r=mbelshe Review URL: http://codereview.chromium.org/2813031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.h')
-rw-r--r--chrome/browser/io_thread.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 83a781d..9708509 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -21,7 +21,7 @@ class ChromeNetLog;
class ListValue;
namespace chrome_browser_net {
-class DnsMaster;
+class Predictor;
} // namespace chrome_browser_net
namespace net {
@@ -55,12 +55,12 @@ class IOThread : public BrowserProcessSubThread {
// prefetching should be enabled, and |preconnect_enabled| controls whether
// TCP/IP preconnection is enabled. This should be called by the UI thread.
// It will post a task to the IO thread to perform the actual initialization.
- void InitDnsMaster(bool prefetching_enabled,
- base::TimeDelta max_queue_delay,
- size_t max_concurrent,
- const chrome_common_net::UrlList& startup_urls,
- ListValue* referral_list,
- bool preconnect_enabled);
+ void InitNetworkPredictor(bool prefetching_enabled,
+ base::TimeDelta max_dns_queue_delay,
+ size_t max_concurrent,
+ const chrome_common_net::UrlList& startup_urls,
+ ListValue* referral_list,
+ bool preconnect_enabled);
// Handles changing to On The Record mode. Posts a task for this onto the
// IOThread's message loop.
@@ -74,9 +74,9 @@ class IOThread : public BrowserProcessSubThread {
private:
net::HttpAuthHandlerFactory* CreateDefaultAuthHandlerFactory();
- void InitDnsMasterOnIOThread(
+ void InitNetworkPredictorOnIOThread(
bool prefetching_enabled,
- base::TimeDelta max_queue_delay,
+ base::TimeDelta max_dns_queue_delay,
size_t max_concurrent,
const chrome_common_net::UrlList& startup_urls,
@@ -110,7 +110,7 @@ class IOThread : public BrowserProcessSubThread {
// down.
chrome_browser_net::ConnectInterceptor* speculative_interceptor_;
net::HostResolver::Observer* prefetch_observer_;
- chrome_browser_net::DnsMaster* dns_master_;
+ chrome_browser_net::Predictor* predictor_;
DISALLOW_COPY_AND_ASSIGN(IOThread);
};