1// Copyright 2015 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module device.mojom;
6
7import "services/device/public/mojom/wake_lock.mojom";
8
9// Context in which WakeLock instances operate.
10interface WakeLockContext {
11  // Gets a WakeLock within this context.
12  GetWakeLock(WakeLockType type,
13              WakeLockReason reason,
14              string description,
15              pending_receiver<WakeLock> wake_lock);
16};
17