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 b2610d53655ade59b6d6f34153045aa7f59d93d4..3e3187a58e14cada793b6f250084bb2ddab4eeae 100644 |
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc |
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
@@ -1078,6 +1078,22 @@ void ResourceDispatcherHost::OnSSLCertificateError( |
SSLManager::OnSSLCertificateError(this, request, cert_error, cert); |
} |
+void ResourceDispatcherHost::OnGetCookies( |
+ URLRequest* request, |
+ const net::CookieMonster::CookieList& cookie_list, |
+ 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; |
+ |
+ CallRenderViewHostContentSettingsDelegate( |
+ render_process_id, render_view_id, |
+ &RenderViewHostDelegate::ContentSettings::OnCookiesRead, |
+ request->url(), cookie_list, blocked_by_policy); |
+} |
+ |
void ResourceDispatcherHost::OnSetCookie(URLRequest* request, |
const std::string& cookie_line, |
bool blocked_by_policy) { |