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

Unified Diff: chrome/browser/captive_portal/captive_portal_tab_helper.cc

Issue 1082083004: Replace some GURL::SchemeIsSecure callers with SchemeUsesTLS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-is-secure-gurl
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/captive_portal/captive_portal_tab_helper.cc
diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper.cc b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
index 978025d8df0396a47237e44f5d7c5f5a52d565a3..2b63c037916e32aad887f84aeba26d4e15290b64 100644
--- a/chrome/browser/captive_portal/captive_portal_tab_helper.cc
+++ b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
@@ -93,7 +93,7 @@ void CaptivePortalTabHelper::DidStartProvisionalLoadForFrame(
provisional_render_view_host_ = render_view_host;
pending_error_code_ = net::OK;
- tab_reloader_->OnLoadStart(validated_url.SchemeIsSecure());
+ tab_reloader_->OnLoadStart(validated_url.SchemeUsesTLS());
}
void CaptivePortalTabHelper::DidCommitProvisionalLoadForFrame(
@@ -115,7 +115,7 @@ void CaptivePortalTabHelper::DidCommitProvisionalLoadForFrame(
OnLoadAborted();
// Send information about the new load.
- tab_reloader_->OnLoadStart(url.SchemeIsSecure());
+ tab_reloader_->OnLoadStart(url.SchemeUsesTLS());
tab_reloader_->OnLoadCommitted(net::OK);
}
@@ -239,7 +239,7 @@ void CaptivePortalTabHelper::OnRedirect(int child_id,
return;
}
- tab_reloader_->OnRedirect(new_url.SchemeIsSecure());
+ tab_reloader_->OnRedirect(new_url.SchemeUsesTLS());
}
void CaptivePortalTabHelper::OnCaptivePortalResults(
« no previous file with comments | « no previous file | chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698