summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/certificate_error_reporter.cc
diff options
context:
space:
mode:
authorpalmer <palmer@chromium.org>2015-04-20 15:15:31 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-20 22:15:49 +0000
commitb075fa90786c045b2d7730f4588edd90d68afacb (patch)
tree9923a47aa6a671aa81eaf59a04fb03417f4c456f /chrome/browser/net/certificate_error_reporter.cc
parent6de2caba0ee5c91724dd2ff7092fa588ac0f60fd (diff)
downloadchromium_src-b075fa90786c045b2d7730f4588edd90d68afacb.zip
chromium_src-b075fa90786c045b2d7730f4588edd90d68afacb.tar.gz
chromium_src-b075fa90786c045b2d7730f4588edd90d68afacb.tar.bz2
Replace some GURL::SchemeIsSecure callers with SchemeUsesTLS.
The latter is more precise, and more closely fits the semantics of these callers. BUG=362214 Review URL: https://codereview.chromium.org/1082083004 Cr-Commit-Position: refs/heads/master@{#325921}
Diffstat (limited to 'chrome/browser/net/certificate_error_reporter.cc')
-rw-r--r--chrome/browser/net/certificate_error_reporter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/certificate_error_reporter.cc b/chrome/browser/net/certificate_error_reporter.cc
index 15dad13..8d5b5d8 100644
--- a/chrome/browser/net/certificate_error_reporter.cc
+++ b/chrome/browser/net/certificate_error_reporter.cc
@@ -47,8 +47,8 @@ void CertificateErrorReporter::SendReport(ReportType type,
SendCertLoggerRequest(request);
break;
case REPORT_TYPE_EXTENDED_REPORTING:
- // TODO(estark): Encrypt the report if not sending over HTTPS
- DCHECK(upload_url_.SchemeIsSecure());
+ // TODO(estark): Encrypt the report if not sending over HTTPS.
+ DCHECK(upload_url_.SchemeUsesTLS());
SendCertLoggerRequest(request);
break;
default: