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

Unified Diff: chrome/browser/ssl/chrome_ssl_host_state_delegate.cc

Issue 2244253002: Rename |pid| to |child_id| in SSLHostStateDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
Index: chrome/browser/ssl/chrome_ssl_host_state_delegate.cc
diff --git a/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc b/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc
index f6e31e05d74e600f8da202789f65d9e96a4fb207..af2c261d3819aebaab88bf25e072def6ecafd8d6 100644
--- a/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc
+++ b/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc
@@ -436,28 +436,29 @@ bool ChromeSSLHostStateDelegate::HasAllowException(
void ChromeSSLHostStateDelegate::HostRanInsecureContent(
const std::string& host,
- int pid,
+ int child_id,
InsecureContentType content_type) {
switch (content_type) {
case MIXED_CONTENT:
- ran_mixed_content_hosts_.insert(BrokenHostEntry(host, pid));
+ ran_mixed_content_hosts_.insert(BrokenHostEntry(host, child_id));
return;
case CERT_ERRORS_CONTENT:
- ran_content_with_cert_errors_hosts_.insert(BrokenHostEntry(host, pid));
+ ran_content_with_cert_errors_hosts_.insert(
+ BrokenHostEntry(host, child_id));
return;
}
}
bool ChromeSSLHostStateDelegate::DidHostRunInsecureContent(
const std::string& host,
- int pid,
+ int child_id,
InsecureContentType content_type) const {
switch (content_type) {
case MIXED_CONTENT:
- return !!ran_mixed_content_hosts_.count(BrokenHostEntry(host, pid));
+ return !!ran_mixed_content_hosts_.count(BrokenHostEntry(host, child_id));
case CERT_ERRORS_CONTENT:
return !!ran_content_with_cert_errors_hosts_.count(
- BrokenHostEntry(host, pid));
+ BrokenHostEntry(host, child_id));
}
NOTREACHED();
return false;
« no previous file with comments | « chrome/browser/ssl/chrome_ssl_host_state_delegate.h ('k') | content/public/browser/ssl_host_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698