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

Side by Side Diff: chrome/browser/renderer_host/resource_dispatcher_host.h

Issue 131090: Add a temporary command-line switch --auto-ssl-client-auth for... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Warn about privacy issues Created 11 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 fowards the messages from the 7 // dispatches them to URLRequests. It then fowards 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 // Force cancels any pending requests for the given route id. This method 296 // Force cancels any pending requests for the given route id. This method
297 // acts like CancelRequestsForProcess when route_id is -1. 297 // acts like CancelRequestsForProcess when route_id is -1.
298 void CancelRequestsForRoute(int process_id, int route_id); 298 void CancelRequestsForRoute(int process_id, int route_id);
299 299
300 // URLRequest::Delegate 300 // URLRequest::Delegate
301 virtual void OnReceivedRedirect(URLRequest* request, 301 virtual void OnReceivedRedirect(URLRequest* request,
302 const GURL& new_url); 302 const GURL& new_url);
303 virtual void OnAuthRequired(URLRequest* request, 303 virtual void OnAuthRequired(URLRequest* request,
304 net::AuthChallengeInfo* auth_info); 304 net::AuthChallengeInfo* auth_info);
305 virtual void OnCertificateRequested(
306 URLRequest* request,
307 net::SSLCertRequestInfo* cert_request_info);
305 virtual void OnSSLCertificateError(URLRequest* request, 308 virtual void OnSSLCertificateError(URLRequest* request,
306 int cert_error, 309 int cert_error,
307 net::X509Certificate* cert); 310 net::X509Certificate* cert);
308 virtual void OnResponseStarted(URLRequest* request); 311 virtual void OnResponseStarted(URLRequest* request);
309 virtual void OnReadCompleted(URLRequest* request, int bytes_read); 312 virtual void OnReadCompleted(URLRequest* request, int bytes_read);
310 void OnResponseCompleted(URLRequest* request); 313 void OnResponseCompleted(URLRequest* request);
311 314
312 // Helper functions to get our extra data out of a request. The given request 315 // Helper functions to get our extra data out of a request. The given request
313 // must have been one we created so that it has the proper extra data pointer. 316 // must have been one we created so that it has the proper extra data pointer.
314 static ExtraRequestInfo* ExtraInfoForRequest(URLRequest* request) { 317 static ExtraRequestInfo* ExtraInfoForRequest(URLRequest* request) {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 // Used during IPC message dispatching so that the handlers can get a pointer 565 // Used during IPC message dispatching so that the handlers can get a pointer
563 // to the source of the message. 566 // to the source of the message.
564 Receiver* receiver_; 567 Receiver* receiver_;
565 568
566 static bool g_is_http_prioritization_enabled; 569 static bool g_is_http_prioritization_enabled;
567 570
568 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 571 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
569 }; 572 };
570 573
571 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 574 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698