summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 15:44:32 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 15:44:32 +0000
commit9f07c9b7b32e68112ddca7968230e08293c2809c (patch)
treea64f95ff80431c05de959f93e4f46738dded21d4 /net/url_request
parentf334f8d30107123ed660c88d9271ed1404b96785 (diff)
downloadchromium_src-9f07c9b7b32e68112ddca7968230e08293c2809c.zip
chromium_src-9f07c9b7b32e68112ddca7968230e08293c2809c.tar.gz
chromium_src-9f07c9b7b32e68112ddca7968230e08293c2809c.tar.bz2
Revert 97446 - Modifying prefetch to account for multi-profile.
Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937 TEST=passes existing Review URL: http://codereview.chromium.org/7467012 TBR=rlp@chromium.org Review URL: http://codereview.chromium.org/7690006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index c66b022..5eaf2bdb 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -178,6 +178,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
friend class appcache::AppCacheInterceptor;
friend class appcache::AppCacheRequestHandlerTest;
friend class appcache::AppCacheURLRequestJobTest;
+ friend class chrome_browser_net::ConnectInterceptor;
friend class fileapi::FileSystemDirURLRequestJobTest;
friend class fileapi::FileSystemOperationWriteTest;
friend class fileapi::FileSystemURLRequestJobTest;