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

Unified Diff: third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp

Issue 2719813002: Rename classes that derived from EmptyLocalFrameClient. (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp b/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
index 05732b30010ee0818330cb363e8005f754a5df7c..333530aec03529eb783fa85b33063c8488918da4 100644
--- a/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
+++ b/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
@@ -103,9 +103,9 @@ TEST(MixedContentCheckerTest, ContextTypeForInspector) {
namespace {
-class MockFrameLoaderClient : public EmptyLocalFrameClient {
+class MockLocalFrameClient : public EmptyLocalFrameClient {
public:
- MockFrameLoaderClient() : EmptyLocalFrameClient() {}
+ MockLocalFrameClient() : EmptyLocalFrameClient() {}
MOCK_METHOD1(didDisplayContentWithCertificateErrors, void(const KURL&));
MOCK_METHOD1(didRunContentWithCertificateErrors, void(const KURL&));
};
@@ -113,7 +113,7 @@ class MockFrameLoaderClient : public EmptyLocalFrameClient {
} // namespace
TEST(MixedContentCheckerTest, HandleCertificateError) {
- MockFrameLoaderClient* client = new MockFrameLoaderClient;
+ MockLocalFrameClient* client = new MockLocalFrameClient;
std::unique_ptr<DummyPageHolder> dummyPageHolder =
DummyPageHolder::create(IntSize(1, 1), nullptr, client);

Powered by Google App Engine
This is Rietveld 408576698