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 Cookies API. | 5 // Constants used for the Cookies API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ |
9 | 9 |
10 namespace debugger_api_constants { | 10 namespace debugger_api_constants { |
11 | 11 |
12 // Keys. | |
13 extern const char kCommandKey[]; | |
14 extern const char kDataKey[]; | |
15 extern const char kTabIdKey[]; | |
16 extern const char kVersionIdKey[]; | |
17 | |
18 // Events. | 12 // Events. |
19 extern const char kOnEvent[]; | 13 extern const char kOnEvent[]; |
20 extern const char kOnDetach[]; | 14 extern const char kOnDetach[]; |
21 | 15 |
22 // Errors. | 16 // Errors. |
23 extern const char kAlreadyAttachedError[]; | 17 extern const char kAlreadyAttachedError[]; |
24 extern const char kAttachToWebUIError[]; | 18 extern const char kAttachToWebUIError[]; |
25 extern const char kDebuggerExecuteFailedError[]; | 19 extern const char kDebuggerExecuteFailedError[]; |
26 extern const char kNoTabError[]; | 20 extern const char kNoTabError[]; |
27 extern const char kNotAttachedError[]; | 21 extern const char kNotAttachedError[]; |
28 extern const char kPermissionError[]; | 22 extern const char kPermissionError[]; |
29 extern const char kProtocolVersionNotSupportedError[]; | 23 extern const char kProtocolVersionNotSupportedError[]; |
30 | 24 |
31 } // namespace debugger_api_constants | 25 } // namespace debugger_api_constants |
32 | 26 |
33 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ | 27 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ |
OLD | NEW |