Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Constants used for the Declarative API. | 5 // Constants used for the Declarative API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace extensions { | 11 namespace extensions { |
| 12 namespace declarative_api_constants { | 12 namespace declarative_api_constants { |
| 13 | 13 |
| 14 // Keys. | |
| 15 extern const char kId[]; | |
| 16 extern const char kConditions[]; | |
| 17 extern const char kActions[]; | |
| 18 extern const char kPriority[]; | |
| 19 | |
| 20 // Error messages. | 14 // Error messages. |
| 21 extern const char kInvalidDatatype[]; | |
| 22 extern const char kInvalidEventName[]; | 15 extern const char kInvalidEventName[]; |
|
not at google - send to devlin
2012/02/18 02:59:01
Is this only used in declarative_api.cc? If so, yo
battre
2012/02/20 10:17:36
Done.
| |
| 23 | 16 |
| 24 } // namespace declarative_api_constants | 17 } // namespace declarative_api_constants |
| 25 } // namespace extensions | 18 } // namespace extensions |
| 26 | 19 |
| 27 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H _ | 20 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_DECLARATIVE_API_CONSTANTS_H _ |
| OLD | NEW |