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

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

Issue 7976036: net: make HSTS hosts use the normal SSL interstitials (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 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 | content/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // net::URLRequest::Delegate 183 // net::URLRequest::Delegate
184 virtual void OnReceivedRedirect(net::URLRequest* request, 184 virtual void OnReceivedRedirect(net::URLRequest* request,
185 const GURL& new_url, 185 const GURL& new_url,
186 bool* defer_redirect) OVERRIDE; 186 bool* defer_redirect) OVERRIDE;
187 virtual void OnAuthRequired(net::URLRequest* request, 187 virtual void OnAuthRequired(net::URLRequest* request,
188 net::AuthChallengeInfo* auth_info) OVERRIDE; 188 net::AuthChallengeInfo* auth_info) OVERRIDE;
189 virtual void OnCertificateRequested( 189 virtual void OnCertificateRequested(
190 net::URLRequest* request, 190 net::URLRequest* request,
191 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; 191 net::SSLCertRequestInfo* cert_request_info) OVERRIDE;
192 virtual void OnSSLCertificateError(net::URLRequest* request, 192 virtual void OnSSLCertificateError(net::URLRequest* request,
193 int cert_error, 193 const net::SSLInfo& ssl_info,
194 net::X509Certificate* cert) OVERRIDE; 194 bool is_hsts_host) OVERRIDE;
195 virtual bool CanGetCookies(const net::URLRequest* request, 195 virtual bool CanGetCookies(const net::URLRequest* request,
196 const net::CookieList& cookie_list) const OVERRIDE; 196 const net::CookieList& cookie_list) const OVERRIDE;
197 virtual bool CanSetCookie(const net::URLRequest* request, 197 virtual bool CanSetCookie(const net::URLRequest* request,
198 const std::string& cookie_line, 198 const std::string& cookie_line,
199 net::CookieOptions* options) const OVERRIDE; 199 net::CookieOptions* options) const OVERRIDE;
200 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 200 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
201 virtual void OnReadCompleted(net::URLRequest* request, 201 virtual void OnReadCompleted(net::URLRequest* request,
202 int bytes_read) OVERRIDE; 202 int bytes_read) OVERRIDE;
203 203
204 void OnResponseCompleted(net::URLRequest* request); 204 void OnResponseCompleted(net::URLRequest* request);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 509
510 ResourceDispatcherHostDelegate* delegate_; 510 ResourceDispatcherHostDelegate* delegate_;
511 511
512 static bool is_prefetch_enabled_; 512 static bool is_prefetch_enabled_;
513 bool allow_cross_origin_auth_prompt_; 513 bool allow_cross_origin_auth_prompt_;
514 514
515 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 515 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
516 }; 516 };
517 517
518 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 518 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698