mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
17 lines
510 B
Plaintext
17 lines
510 B
Plaintext
|
// Copyright 2015 The Chromium Authors. All rights reserved.
|
||
|
// 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/interfaces/wake_lock.mojom";
|
||
|
|
||
|
// Context in which WakeLock instances operate.
|
||
|
interface WakeLockContext {
|
||
|
// Gets a WakeLock within this context.
|
||
|
GetWakeLock(WakeLockType type,
|
||
|
WakeLockReason reason,
|
||
|
string description,
|
||
|
WakeLock& wake_lock);
|
||
|
};
|