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

Unified Diff: device/wake_lock/wake_lock_provider.h

Issue 2883903002: Add service unittest for WakeLockServiceImpl. (Closed)
Patch Set: Rename Fake* to *ForTesting Created 3 years, 6 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
« no previous file with comments | « device/wake_lock/BUILD.gn ('k') | device/wake_lock/wake_lock_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/wake_lock/wake_lock_provider.h
diff --git a/device/wake_lock/wake_lock_provider.h b/device/wake_lock/wake_lock_provider.h
index 0177c287aeccba17278aa78e04e90fd549844736..b3bc9c0321dc31f8f96e29e98789db4b5bfa3009 100644
--- a/device/wake_lock/wake_lock_provider.h
+++ b/device/wake_lock/wake_lock_provider.h
@@ -38,6 +38,8 @@ class WakeLockProvider : public mojom::WakeLockProvider {
const std::string& description,
mojom::WakeLockServiceRequest request) override;
+ static bool is_in_service_unittest_;
+
private:
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
WakeLockContextCallback native_view_getter_;
« no previous file with comments | « device/wake_lock/BUILD.gn ('k') | device/wake_lock/wake_lock_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698