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

Unified Diff: content/browser/ssl/ssl_manager_unittest.cc

Issue 2461093002: Revert 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
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_manager_unittest.cc
diff --git a/content/browser/ssl/ssl_manager_unittest.cc b/content/browser/ssl/ssl_manager_unittest.cc
index 7beadeb2c4bd0ae11bf6dd48cd16adc526e9c3be..8468bb14d12588aa99cbfdc357080608265f9252 100644
--- a/content/browser/ssl/ssl_manager_unittest.cc
+++ b/content/browser/ssl/ssl_manager_unittest.cc
@@ -28,7 +28,7 @@
const SSLStatus& last_ssl_state() { return last_ssl_state_; }
// WebContentsDelegate:
- void VisibleSecurityStateChanged(WebContents* source) override {
+ void VisibleSSLStateChanged(WebContents* source) override {
NavigationEntry* entry = source->GetController().GetVisibleEntry();
EXPECT_TRUE(entry);
last_ssl_state_ = entry->GetSSL();
@@ -48,7 +48,7 @@
DISALLOW_COPY_AND_ASSIGN(SSLManagerTest);
};
-// Tests that VisibleSecurityStateChanged() is called when a password input
+// Tests that VisibleSSLStateChanged() is called when a password input
// is shown on an HTTP page.
TEST_F(SSLManagerTest, NotifyVisibleSSLStateChangeOnHttpPassword) {
TestWebContentsDelegate delegate;
@@ -64,7 +64,7 @@
SSLStatus::DISPLAYED_PASSWORD_FIELD_ON_HTTP);
}
-// Tests that VisibleSecurityStateChanged() is called when a credit card input
+// Tests that VisibleSSLStateChanged() is called when a credit card input
// is shown on an HTTP page.
TEST_F(SSLManagerTest, NotifyVisibleSSLStateChangeOnHttpCreditCard) {
TestWebContentsDelegate delegate;
@@ -80,7 +80,7 @@
SSLStatus::DISPLAYED_CREDIT_CARD_FIELD_ON_HTTP);
}
-// Tests that VisibleSecurityStateChanged() is called when password and
+// Tests that VisibleSSLStateChanged() is called when password and
// credit card inputs are shown on an HTTP page.
TEST_F(SSLManagerTest, NotifyVisibleSSLStateChangeOnPasswordAndHttpCreditCard) {
TestWebContentsDelegate delegate;
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698