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

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

Issue 5318002: Also register read cookies in the content settings delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 const GURL& new_url, 207 const GURL& new_url,
208 bool* defer_redirect); 208 bool* defer_redirect);
209 virtual void OnAuthRequired(URLRequest* request, 209 virtual void OnAuthRequired(URLRequest* request,
210 net::AuthChallengeInfo* auth_info); 210 net::AuthChallengeInfo* auth_info);
211 virtual void OnCertificateRequested( 211 virtual void OnCertificateRequested(
212 URLRequest* request, 212 URLRequest* request,
213 net::SSLCertRequestInfo* cert_request_info); 213 net::SSLCertRequestInfo* cert_request_info);
214 virtual void OnSSLCertificateError(URLRequest* request, 214 virtual void OnSSLCertificateError(URLRequest* request,
215 int cert_error, 215 int cert_error,
216 net::X509Certificate* cert); 216 net::X509Certificate* cert);
217 virtual void OnGetCookies(URLRequest* request,
218 bool blocked_by_policy);
217 virtual void OnSetCookie(URLRequest* request, 219 virtual void OnSetCookie(URLRequest* request,
218 const std::string& cookie_line, 220 const std::string& cookie_line,
219 const net::CookieOptions& options, 221 const net::CookieOptions& options,
220 bool blocked_by_policy); 222 bool blocked_by_policy);
221 virtual void OnResponseStarted(URLRequest* request); 223 virtual void OnResponseStarted(URLRequest* request);
222 virtual void OnReadCompleted(URLRequest* request, int bytes_read); 224 virtual void OnReadCompleted(URLRequest* request, int bytes_read);
223 void OnResponseCompleted(URLRequest* request); 225 void OnResponseCompleted(URLRequest* request);
224 226
225 // Helper functions to get our extra data out of a request. The given request 227 // Helper functions to get our extra data out of a request. The given request
226 // must have been one we created so that it has the proper extra data pointer. 228 // must have been one we created so that it has the proper extra data pointer.
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Used during IPC message dispatching so that the handlers can get a pointer 524 // Used during IPC message dispatching so that the handlers can get a pointer
523 // to the source of the message. 525 // to the source of the message.
524 Receiver* receiver_; 526 Receiver* receiver_;
525 527
526 static bool is_prefetch_enabled_; 528 static bool is_prefetch_enabled_;
527 529
528 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 530 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
529 }; 531 };
530 532
531 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 533 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698