From 9f07c9b7b32e68112ddca7968230e08293c2809c Mon Sep 17 00:00:00 2001 From: "avi@chromium.org" Date: Fri, 19 Aug 2011 15:44:32 +0000 Subject: 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 --- net/url_request/url_request.h | 1 + 1 file changed, 1 insertion(+) (limited to 'net/url_request') 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; -- cgit v1.1