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

Unified Diff: chromecast/browser/cast_content_browser_client.cc

Issue 725163003: Device identification changes for multiple applications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | chromecast/browser/cast_network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: "
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | chromecast/browser/cast_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698