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

Unified Diff: device/wake_lock/public/interfaces/wake_lock_context.mojom

Issue 2921823002: Rationalize WakeLock naming conventions (Closed)
Patch Set: rebase 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
Index: device/wake_lock/public/interfaces/wake_lock_context.mojom
diff --git a/device/wake_lock/public/interfaces/wake_lock_context.mojom b/device/wake_lock/public/interfaces/wake_lock_context.mojom
index ba6a9efc4dad26f465eaa0cfbf8985e5f2661291..ef37076aa04bf01e94af9bf1d39525f04c00048f 100644
--- a/device/wake_lock/public/interfaces/wake_lock_context.mojom
+++ b/device/wake_lock/public/interfaces/wake_lock_context.mojom
@@ -4,7 +4,7 @@
module device.mojom;
-import "device/wake_lock/public/interfaces/wake_lock_service.mojom";
+import "device/wake_lock/public/interfaces/wake_lock.mojom";
enum WakeLockType {
// Prevent the application from being suspended. On some platforms, apps may
@@ -30,11 +30,11 @@ enum WakeLockReason {
ReasonOther = 2,
};
-// Context in which WakeLockService instances operate.
+// Context in which WakeLock instances operate.
interface WakeLockContext {
- // Gets a WakeLockService within this context.
+ // Gets a WakeLock within this context.
GetWakeLock(WakeLockType type,
WakeLockReason reason,
string description,
- WakeLockService& wake_lock);
+ WakeLock& wake_lock);
};
« no previous file with comments | « device/wake_lock/public/interfaces/wake_lock.mojom ('k') | device/wake_lock/public/interfaces/wake_lock_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698