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 #include "chrome/browser/extensions/extension_debugger_api_constants.h" | 5 #include "chrome/browser/extensions/api/debugger/debugger_api_constants.h" |
6 | 6 |
7 namespace extension_debugger_api_constants { | 7 namespace debugger_api_constants { |
8 | 8 |
9 const char kCommandKey[] = "command"; | 9 const char kCommandKey[] = "command"; |
10 const char kDataKey[] = "data"; | 10 const char kDataKey[] = "data"; |
11 const char kTabIdKey[] = "tabId"; | 11 const char kTabIdKey[] = "tabId"; |
12 const char kVersionIdKey[] = "requiredVersion"; | 12 const char kVersionIdKey[] = "requiredVersion"; |
13 | 13 |
14 const char kOnEvent[] = "debugger.onEvent"; | 14 const char kOnEvent[] = "debugger.onEvent"; |
15 const char kOnDetach[] = "debugger.onDetach"; | 15 const char kOnDetach[] = "debugger.onDetach"; |
16 | 16 |
17 const char kAlreadyAttachedError[] = | 17 const char kAlreadyAttachedError[] = |
18 "Another debugger is already attached to the tab with id: *."; | 18 "Another debugger is already attached to the tab with id: *."; |
19 const char kAttachToWebUIError[] = | 19 const char kAttachToWebUIError[] = |
20 "Can not attach to the page with the \"*://\" scheme."; | 20 "Can not attach to the page with the \"*://\" scheme."; |
21 const char kDebuggerExecuteFailedError[] = "Execute debugger failed."; | 21 const char kDebuggerExecuteFailedError[] = "Execute debugger failed."; |
22 const char kNoTabError[] = "No tab with given id *."; | 22 const char kNoTabError[] = "No tab with given id *."; |
23 const char kNotAttachedError[] = | 23 const char kNotAttachedError[] = |
24 "Debugger is not attached to the tab with id: *."; | 24 "Debugger is not attached to the tab with id: *."; |
25 const char kPermissionError[] = "You do not have permission to debug pages."; | 25 const char kPermissionError[] = "You do not have permission to debug pages."; |
26 const char kProtocolVersionNotSupportedError[] = | 26 const char kProtocolVersionNotSupportedError[] = |
27 "Requested protocol version is not supported: *."; | 27 "Requested protocol version is not supported: *."; |
28 | 28 |
29 } // namespace extension_debugger_api_constants | 29 } // namespace debugger_api_constants |
OLD | NEW |