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

Unified Diff: device/wake_lock/wake_lock_service_context.h

Issue 2867303003: Generalize the API of WakeLockContext mojo interface. (Closed)
Patch Set: Generalize the API of WakeLockContext mojo interface. 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
« no previous file with comments | « device/wake_lock/wake_lock_context_provider.cc ('k') | device/wake_lock/wake_lock_service_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/wake_lock/wake_lock_service_context.h
diff --git a/device/wake_lock/wake_lock_service_context.h b/device/wake_lock/wake_lock_service_context.h
index f5c5fd9c312f60a6ec20ba29a70f1fdc5777b74a..95e58bdb4494fc822ee2d77d0f1453b2f2237969 100644
--- a/device/wake_lock/wake_lock_service_context.h
+++ b/device/wake_lock/wake_lock_service_context.h
@@ -31,7 +31,10 @@ class WakeLockServiceContext : public mojom::WakeLockContext {
~WakeLockServiceContext() override;
// mojom::WakeLockContext:
- void GetWakeLock(mojom::WakeLockServiceRequest request) override;
+ void GetWakeLock(mojom::WakeLockType type,
+ mojom::WakeLockReason reason,
+ const std::string& description,
+ mojom::WakeLockServiceRequest request) override;
private:
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
« no previous file with comments | « device/wake_lock/wake_lock_context_provider.cc ('k') | device/wake_lock/wake_lock_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698