blob: 01e959854f95d4f622bdde17cb150879bb5d84b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2019 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.
#ifndef UI_BASE_IDLE_IDLE_INTERNAL_H_
#define UI_BASE_IDLE_IDLE_INTERNAL_H_
#include "base/component_export.h"
#include "base/optional.h"
#include "ui/base/idle/idle.h"
namespace ui {
// An optional idle state set by tests via a ScopedSetIdleState to override the
// actual idle state of the system.
COMPONENT_EXPORT(UI_BASE_IDLE) base::Optional<IdleState>& IdleStateForTesting();
} // namespace ui
#endif // UI_BASE_IDLE_IDLE_INTERNAL_H_
|