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

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, 3 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) 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 int cert_error,
194 net::X509Certificate* cert) OVERRIDE; 194 const net::SSLInfo& ssl_info,
195 bool must_be_fatal) OVERRIDE;
195 virtual bool CanGetCookies(const net::URLRequest* request, 196 virtual bool CanGetCookies(const net::URLRequest* request,
196 const net::CookieList& cookie_list) const OVERRIDE; 197 const net::CookieList& cookie_list) const OVERRIDE;
197 virtual bool CanSetCookie(const net::URLRequest* request, 198 virtual bool CanSetCookie(const net::URLRequest* request,
198 const std::string& cookie_line, 199 const std::string& cookie_line,
199 net::CookieOptions* options) const OVERRIDE; 200 net::CookieOptions* options) const OVERRIDE;
200 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 201 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
201 virtual void OnReadCompleted(net::URLRequest* request, 202 virtual void OnReadCompleted(net::URLRequest* request,
202 int bytes_read) OVERRIDE; 203 int bytes_read) OVERRIDE;
203 204
204 void OnResponseCompleted(net::URLRequest* request); 205 void OnResponseCompleted(net::URLRequest* request);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 510
510 ResourceDispatcherHostDelegate* delegate_; 511 ResourceDispatcherHostDelegate* delegate_;
511 512
512 static bool is_prefetch_enabled_; 513 static bool is_prefetch_enabled_;
513 bool allow_cross_origin_auth_prompt_; 514 bool allow_cross_origin_auth_prompt_;
514 515
515 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 516 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
516 }; 517 };
517 518
518 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 519 #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') | content/browser/ssl/ssl_cert_error_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698