summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/idle/idle_api_constants.h
blob: 2ab7f3fbba2708767bce71560340d6ed2dc4b1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_CONSTANTS_H_

namespace extensions {

namespace idle_api_constants {

// Keys.
extern const char kSecondsKey[];
extern const char kStateKey[];

// Events.
extern const char kOnStateChanged[];

// States
extern const char kStateActive[];
extern const char kStateIdle[];
extern const char kStateLocked[];

}  // namespace idle_api_constants

}  // namespace extensions

#endif  // CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_CONSTANTS_H_