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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 int num_requests; 249 int num_requests;
250 }; 250 };
251 251
252 friend class ShutdownTask; 252 friend class ShutdownTask;
253 friend class ResourceMessageDelegate; 253 friend class ResourceMessageDelegate;
254 254
255 // ResourceLoaderDelegate implementation: 255 // ResourceLoaderDelegate implementation:
256 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 256 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
257 ResourceLoader* loader, 257 ResourceLoader* loader,
258 net::AuthChallengeInfo* auth_info) OVERRIDE; 258 net::AuthChallengeInfo* auth_info) OVERRIDE;
259 virtual bool AcceptAuthRequest(
260 ResourceLoader* loader,
261 net::AuthChallengeInfo* auth_info) OVERRIDE;
262 virtual bool AcceptSSLClientCertificateRequest(
263 ResourceLoader* loader,
264 net::SSLCertRequestInfo* cert_info) OVERRIDE;
265 virtual bool HandleExternalProtocol(ResourceLoader* loader, 259 virtual bool HandleExternalProtocol(ResourceLoader* loader,
266 const GURL& url) OVERRIDE; 260 const GURL& url) OVERRIDE;
267 virtual void DidStartRequest(ResourceLoader* loader) OVERRIDE; 261 virtual void DidStartRequest(ResourceLoader* loader) OVERRIDE;
268 virtual void DidReceiveRedirect(ResourceLoader* loader, 262 virtual void DidReceiveRedirect(ResourceLoader* loader,
269 const GURL& new_url) OVERRIDE; 263 const GURL& new_url) OVERRIDE;
270 virtual void DidReceiveResponse(ResourceLoader* loader) OVERRIDE; 264 virtual void DidReceiveResponse(ResourceLoader* loader) OVERRIDE;
271 virtual void DidFinishLoading(ResourceLoader* loader) OVERRIDE; 265 virtual void DidFinishLoading(ResourceLoader* loader) OVERRIDE;
272 266
273 // An init helper that runs on the IO thread. 267 // An init helper that runs on the IO thread.
274 void OnInit(); 268 void OnInit();
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap; 506 typedef std::map<GlobalRoutingID, OfflinePolicy*> OfflineMap;
513 507
514 OfflineMap offline_policy_map_; 508 OfflineMap offline_policy_map_;
515 509
516 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 510 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
517 }; 511 };
518 512
519 } // namespace content 513 } // namespace content
520 514
521 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 515 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698