Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Side by Side Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h

Issue 124113003: Remove calls of PrerenderTracker::TryCancel and TryCancelOnIOThread in ChromeResourceDispatcherHost… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 28 matching lines...) Expand all
39 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 39 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
40 virtual void DownloadStarting( 40 virtual void DownloadStarting(
41 net::URLRequest* request, 41 net::URLRequest* request,
42 content::ResourceContext* resource_context, 42 content::ResourceContext* resource_context,
43 int child_id, 43 int child_id,
44 int route_id, 44 int route_id,
45 int request_id, 45 int request_id,
46 bool is_content_initiated, 46 bool is_content_initiated,
47 bool must_download, 47 bool must_download,
48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
49 virtual bool AcceptAuthRequest(net::URLRequest* request,
50 net::AuthChallengeInfo* auth_info) OVERRIDE;
51 virtual bool AcceptSSLClientCertificateRequest(
52 net::URLRequest* request,
53 net::SSLCertRequestInfo* cert_info) OVERRIDE;
54
55 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 49 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
56 net::AuthChallengeInfo* auth_info, 50 net::AuthChallengeInfo* auth_info,
57 net::URLRequest* request) OVERRIDE; 51 net::URLRequest* request) OVERRIDE;
58 virtual bool HandleExternalProtocol(const GURL& url, 52 virtual bool HandleExternalProtocol(const GURL& url,
59 int child_id, 53 int child_id,
60 int route_id) OVERRIDE; 54 int route_id) OVERRIDE;
61 virtual void OnResponseStarted( 55 virtual void OnResponseStarted(
62 net::URLRequest* request, 56 net::URLRequest* request,
63 content::ResourceContext* resource_context, 57 content::ResourceContext* resource_context,
64 content::ResourceResponse* response, 58 content::ResourceResponse* response,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 94
101 // Only accessed on the IO thread. 95 // Only accessed on the IO thread.
102 PendingThrottleMap pending_throttles_; 96 PendingThrottleMap pending_throttles_;
103 97
104 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
105 }; 99 };
106 100
107 } // namespace android_webview 101 } // namespace android_webview
108 102
109 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698