OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSION_DEBUGGER_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ |
9 #pragma once | |
10 | 9 |
11 namespace extension_debugger_api_constants { | 10 namespace extension_debugger_api_constants { |
12 | 11 |
13 // Keys. | 12 // Keys. |
14 extern const char kCommandKey[]; | 13 extern const char kCommandKey[]; |
15 extern const char kDataKey[]; | 14 extern const char kDataKey[]; |
16 extern const char kTabIdKey[]; | 15 extern const char kTabIdKey[]; |
17 extern const char kVersionIdKey[]; | 16 extern const char kVersionIdKey[]; |
18 | 17 |
19 // Events. | 18 // Events. |
20 extern const char kOnEvent[]; | 19 extern const char kOnEvent[]; |
21 extern const char kOnDetach[]; | 20 extern const char kOnDetach[]; |
22 | 21 |
23 // Errors. | 22 // Errors. |
24 extern const char kAlreadyAttachedError[]; | 23 extern const char kAlreadyAttachedError[]; |
25 extern const char kAttachToWebUIError[]; | 24 extern const char kAttachToWebUIError[]; |
26 extern const char kDebuggerExecuteFailedError[]; | 25 extern const char kDebuggerExecuteFailedError[]; |
27 extern const char kNoTabError[]; | 26 extern const char kNoTabError[]; |
28 extern const char kNotAttachedError[]; | 27 extern const char kNotAttachedError[]; |
29 extern const char kPermissionError[]; | 28 extern const char kPermissionError[]; |
30 extern const char kProtocolVersionNotSupportedError[]; | 29 extern const char kProtocolVersionNotSupportedError[]; |
31 | 30 |
32 } // namespace extension_debugger_api_constants | 31 } // namespace extension_debugger_api_constants |
33 | 32 |
34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ | 33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ |
OLD | NEW |