| 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_API_IDLE_IDLE_API_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace extension_idle_api_constants { | 8 namespace extensions { |
| 9 |
| 10 namespace idle_api_constants { |
| 9 | 11 |
| 10 // Keys. | 12 // Keys. |
| 11 extern const char kSecondsKey[]; | 13 extern const char kSecondsKey[]; |
| 12 extern const char kStateKey[]; | 14 extern const char kStateKey[]; |
| 13 | 15 |
| 14 // Events. | 16 // Events. |
| 15 extern const char kOnStateChanged[]; | 17 extern const char kOnStateChanged[]; |
| 16 | 18 |
| 17 // States | 19 // States |
| 18 extern const char kStateActive[]; | 20 extern const char kStateActive[]; |
| 19 extern const char kStateIdle[]; | 21 extern const char kStateIdle[]; |
| 20 extern const char kStateLocked[]; | 22 extern const char kStateLocked[]; |
| 21 | 23 |
| 22 }; // namespace extension_idle_api_constants | 24 } // namespace idle_api_constants |
| 23 | 25 |
| 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_CONSTANTS_H_ | 26 } // namespace extensions |
| 27 |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_CONSTANTS_H_ |
| OLD | NEW |