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

Unified Diff: third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: ScreenWakeLockTest Created 3 years, 11 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/web/tests/ScreenWakeLockTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
index 997249995470aab7debb16e78f59f12943e063ca..0321bffecb153ec1de59c5435ad7750bb79f21eb 100644
--- a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
@@ -67,10 +67,11 @@ void MockInterfaceProvider::getInterface(const char* name,
this, mojo::MakeRequest<WakeLockService>(std::move(handle))));
}
-// A TestWebFrameClient to allow overriding the interfaceProvider() with a mock.
+// A TestWebFrameClient that overrides the blink::InterfaceProvider with a mock.
class TestWebFrameClient : public blink::FrameTestHelpers::TestWebFrameClient {
public:
~TestWebFrameClient() override = default;
+
blink::InterfaceProvider* interfaceProvider() override {
return &m_interfaceProvider;
}

Powered by Google App Engine
This is Rietveld 408576698