Index: chromecast/browser/cast_content_browser_client.cc |
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc |
index 397603d8e1ada3a411868ebc93e1852e27afe7fa..f3f2c7df6d88760ab6abcf412a161c13eb40c229 100644 |
--- a/chromecast/browser/cast_content_browser_client.cc |
+++ b/chromecast/browser/cast_content_browser_client.cc |
@@ -177,17 +177,20 @@ void CastContentBrowserClient::SelectClientCertificate( |
base::Bind( |
&CastContentBrowserClient::SelectClientCertificateOnIOThread, |
base::Unretained(this), |
- requesting_url), |
+ requesting_url, |
+ render_process_id), |
callback); |
} |
net::X509Certificate* |
CastContentBrowserClient::SelectClientCertificateOnIOThread( |
- GURL requesting_url) { |
+ GURL requesting_url, |
+ int render_process_id) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::IO); |
CastNetworkDelegate* network_delegate = |
url_request_context_factory_->app_network_delegate(); |
- if (network_delegate->IsWhitelisted(requesting_url, false)) { |
+ if (network_delegate->IsWhitelisted(requesting_url, |
+ render_process_id, false)) { |
return CastNetworkDelegate::DeviceCert(); |
} else { |
LOG(ERROR) << "Invalid host for client certificate request: " |