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

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

Issue 2444383007: Trigger Dangerous indicator for unsafe subresources (Closed)
Patch Set: protip: #include the .h, not the .cc 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 @@ void Browser::NavigationStateChanged(WebContents* source,
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 @@ void Browser::VisibleSSLStateChanged(WebContents* source) {
ChromeSecurityStateModelClient* security_model =
ChromeSecurityStateModelClient::FromWebContents(source);
- security_model->VisibleSSLStateChanged();
+ security_model->VisibleSecurityStateChanged();
}
void Browser::AddNewContents(WebContents* source,

Powered by Google App Engine
This is Rietveld 408576698