diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 22:22:02 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 22:22:02 +0000 |
commit | 294084df84a7fea99c330b877207bec4186439ee (patch) | |
tree | d8595d5cc29d84aab76a866e9cf7cbd75a3b5f2b /content/browser/loader/resource_loader_unittest.cc | |
parent | 5b971afb2771735fb34d42e4f373e26cb3dcb2f9 (diff) | |
download | chromium_src-294084df84a7fea99c330b877207bec4186439ee.zip chromium_src-294084df84a7fea99c330b877207bec4186439ee.tar.gz chromium_src-294084df84a7fea99c330b877207bec4186439ee.tar.bz2 |
Remove calls of PrerenderTracker::TryCancel and TryCancelOnIOThread in ChromeResourceDispatcherHostDelegate. These short-circuited cancelling the prerendering on the IO thread. Instead, I moved cancelling the prerender on the UI thread since both of these calls end up going to the UI thread right after.
This also removes the last calls of ResourceRequestInfo::GetAssociatedRenderView, which I will remove in a followup.
BUG=304341
R=davidben@chromium.org
Review URL: https://codereview.chromium.org/124113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/loader/resource_loader_unittest.cc')
-rw-r--r-- | content/browser/loader/resource_loader_unittest.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/content/browser/loader/resource_loader_unittest.cc b/content/browser/loader/resource_loader_unittest.cc index 0132d5d..a44a48f 100644 --- a/content/browser/loader/resource_loader_unittest.cc +++ b/content/browser/loader/resource_loader_unittest.cc @@ -179,16 +179,6 @@ class ResourceLoaderTest : public testing::Test, net::AuthChallengeInfo* auth_info) OVERRIDE { return NULL; } - virtual bool AcceptAuthRequest( - ResourceLoader* loader, - net::AuthChallengeInfo* auth_info) OVERRIDE { - return false; - }; - virtual bool AcceptSSLClientCertificateRequest( - ResourceLoader* loader, - net::SSLCertRequestInfo* cert_info) OVERRIDE { - return true; - } virtual bool HandleExternalProtocol(ResourceLoader* loader, const GURL& url) OVERRIDE { return false; |