| Index: content/browser/ssl/ssl_host_state_unittest.cc
|
| diff --git a/content/browser/ssl/ssl_host_state_unittest.cc b/content/browser/ssl/ssl_host_state_unittest.cc
|
| index 5e4366d375d6adba7091a5ae0cb9f98082b1d088..dcee74f76ee659a2dc9d6e562b50a380974c5f4c 100644
|
| --- a/content/browser/ssl/ssl_host_state_unittest.cc
|
| +++ b/content/browser/ssl/ssl_host_state_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/browser/ssl/ssl_host_state.h"
|
| +#include "content/browser/ssl/ssl_host_state_impl.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace {
|
| @@ -90,11 +90,10 @@ unsigned char google_der[] = {
|
|
|
| namespace content {
|
|
|
| -class SSLHostStateTest : public testing::Test {
|
| -};
|
| +class SSLHostStateImplTest : public testing::Test {};
|
|
|
| -TEST_F(SSLHostStateTest, DidHostRunInsecureContent) {
|
| - SSLHostState state;
|
| +TEST_F(SSLHostStateImplTest, DidHostRunInsecureContent) {
|
| + SSLHostStateImpl state;
|
|
|
| EXPECT_FALSE(state.DidHostRunInsecureContent("www.google.com", 42));
|
| EXPECT_FALSE(state.DidHostRunInsecureContent("www.google.com", 191));
|
| @@ -113,12 +112,12 @@ TEST_F(SSLHostStateTest, DidHostRunInsecureContent) {
|
| EXPECT_TRUE(state.DidHostRunInsecureContent("example.com", 42));
|
| }
|
|
|
| -TEST_F(SSLHostStateTest, QueryPolicy) {
|
| +TEST_F(SSLHostStateImplTest, QueryPolicy) {
|
| scoped_refptr<net::X509Certificate> google_cert(
|
| net::X509Certificate::CreateFromBytes(
|
| reinterpret_cast<const char*>(google_der), sizeof(google_der)));
|
|
|
| - SSLHostState state;
|
| + SSLHostStateImpl state;
|
|
|
| EXPECT_EQ(net::CertPolicy::UNKNOWN,
|
| state.QueryPolicy(google_cert.get(),
|
|
|