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

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

Issue 2843353003: Move ownership of PowerSaveBlocker from WakeLockServiceContext to WakeLockServiceImpl (Closed)
Patch Set: seperate this CL into 2CLs Created 3 years, 7 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 b77701898e040ecf02c7ef9331f3db91427a5e30..72b9a2be00661e453c7a3a5df1f629815c01c81f 100644
--- a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
@@ -51,6 +51,10 @@ class MockInterfaceProvider : public blink::InterfaceProvider {
// mojom::WakeLockService
void RequestWakeLock() override { m_registry->setWakeLockStatus(true); }
void CancelWakeLock() override { m_registry->setWakeLockStatus(false); }
+ void AddClient(
+ device::mojom::blink::WakeLockServiceRequest wake_lock) override {}
+ void HasWakeLockForTests(
+ const HasWakeLockForTestsCallback& callback) override {}
mojo::Binding<WakeLockService> m_binding;
MockInterfaceProvider* const m_registry;
« device/wake_lock/wake_lock_service_impl.cc ('K') | « device/wake_lock/wake_lock_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698