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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2454393003: Reland of Trigger Dangerous indicator for unsafe subresources (Closed)
Patch Set: Created 4 years, 2 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 4c02948d4ae9543a60c89f9fa0b97db30fb0ee48..80495ce4c05487389db8b759f9258beec7b31d4f 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1424,8 +1424,8 @@
hosted_app_controller_->UpdateLocationBarVisibility(true);
}
-void Browser::VisibleSSLStateChanged(WebContents* source) {
- // When the current tab's SSL state changes, we need to update the URL
+void Browser::VisibleSecurityStateChanged(WebContents* source) {
+ // When the current tab's security state changes, we need to update the URL
// bar to reflect the new state.
DCHECK(source);
if (tab_strip_model_->GetActiveWebContents() == source)
@@ -1433,7 +1433,7 @@
ChromeSecurityStateModelClient* security_model =
ChromeSecurityStateModelClient::FromWebContents(source);
- security_model->VisibleSSLStateChanged();
+ security_model->VisibleSecurityStateChanged();
}
void Browser::AddNewContents(WebContents* source,
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | components/web_contents_delegate_android/web_contents_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698