| Index: chrome/browser/renderer_host/resource_dispatcher_host.cc | 
| diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc | 
| index a187d99a005f17ddff5a4801e8e016997c977c36..1c0f340717eb1f27c2ccad0e883b9475fb2f45b3 100644 | 
| --- a/chrome/browser/renderer_host/resource_dispatcher_host.cc | 
| +++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc | 
| @@ -1078,6 +1078,29 @@ void ResourceDispatcherHost::OnSSLCertificateError( | 
| SSLManager::OnSSLCertificateError(this, request, cert_error, cert); | 
| } | 
|  | 
| +void ResourceDispatcherHost::OnGetCookies( | 
| +    URLRequest* request, | 
| +    bool blocked_by_policy) { | 
| +  VLOG(1) << "OnGetCookies: " << request->url().spec(); | 
| + | 
| +  int render_process_id, render_view_id; | 
| +  if (!RenderViewForRequest(request, &render_process_id, &render_view_id)) | 
| +    return; | 
| + | 
| +  ChromeURLRequestContext* context = | 
| +      static_cast<ChromeURLRequestContext*>(request->context()); | 
| +  if (context->IsExternal()) | 
| +    return; | 
| + | 
| +  net::CookieOptions options; | 
| +  options.set_include_httponly(); | 
| +  CallRenderViewHostContentSettingsDelegate( | 
| +      render_process_id, render_view_id, | 
| +      &RenderViewHostDelegate::ContentSettings::OnCookiesRead, | 
| +      request->url(), context->cookie_store()->GetCookieMonster(), options, | 
| +      blocked_by_policy); | 
| +} | 
| + | 
| void ResourceDispatcherHost::OnSetCookie(URLRequest* request, | 
| const std::string& cookie_line, | 
| const net::CookieOptions& options, | 
|  |