blob: 0c3090b380b28a99279234fa098515297c297afe [file] [log] [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module device.mojom;
import "services/device/public/mojom/wake_lock.mojom";
// Context in which WakeLock instances operate.
interface WakeLockContext {
// Gets a WakeLock within this context.
GetWakeLock(WakeLockType type,
WakeLockReason reason,
string description,
pending_receiver<WakeLock> wake_lock);
};