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

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

Issue 2843353003: Move ownership of PowerSaveBlocker from WakeLockServiceContext to WakeLockServiceImpl (Closed)
Patch Set: code rebase 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 816cfc2d25bad5715f4fc9d6ed608501d2f86375..2ad6aa655c72fc2386e31a497cecc80e73fc9eb4 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 InterfaceProvider {
// mojom::WakeLockService
void RequestWakeLock() override { registry_->SetWakeLockStatus(true); }
void CancelWakeLock() override { registry_->SetWakeLockStatus(false); }
+ void AddClient(
+ device::mojom::blink::WakeLockServiceRequest wake_lock) override {}
+ void HasWakeLockForTests(
+ const HasWakeLockForTestsCallback& callback) override {}
mojo::Binding<WakeLockService> binding_;
MockInterfaceProvider* const 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