OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ |
7 #pragma once | |
8 | 7 |
9 namespace extension_idle_api_constants { | 8 namespace extension_idle_api_constants { |
10 | 9 |
11 // Keys. | 10 // Keys. |
12 extern const char kSecondsKey[]; | 11 extern const char kSecondsKey[]; |
13 extern const char kStateKey[]; | 12 extern const char kStateKey[]; |
14 | 13 |
15 // Events. | 14 // Events. |
16 extern const char kOnStateChanged[]; | 15 extern const char kOnStateChanged[]; |
17 | 16 |
18 // States | 17 // States |
19 extern const char kStateActive[]; | 18 extern const char kStateActive[]; |
20 extern const char kStateIdle[]; | 19 extern const char kStateIdle[]; |
21 extern const char kStateLocked[]; | 20 extern const char kStateLocked[]; |
22 | 21 |
23 }; // namespace extension_idle_api_constants | 22 }; // namespace extension_idle_api_constants |
24 | 23 |
25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ | 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ |
OLD | NEW |