Chromium Code Reviews| Index: chrome/browser/extensions/api/debugger/debugger_api_constants.cc |
| diff --git a/chrome/browser/extensions/api/debugger/debugger_api_constants.cc b/chrome/browser/extensions/api/debugger/debugger_api_constants.cc |
| index bbd5cf8d6b6cd136a29f469221c9778b4c84e511..0e359ab57220a9d7765be7633fd7480af2b867e0 100644 |
| --- a/chrome/browser/extensions/api/debugger/debugger_api_constants.cc |
| +++ b/chrome/browser/extensions/api/debugger/debugger_api_constants.cc |
| @@ -10,13 +10,20 @@ const char kOnEvent[] = "debugger.onEvent"; |
| const char kOnDetach[] = "debugger.onDetach"; |
| const char kAlreadyAttachedError[] = |
| - "Another debugger is already attached to the tab with id: *."; |
| + "Another debugger is already attached to the * with id: *."; |
| const char kAttachToWebUIError[] = |
| "Can not attach to the page with the \"*://\" scheme."; |
| -const char kNoTabError[] = "No tab with given id *."; |
| +const char kNoTargetError[] = "No * with given id *."; |
| +const char kInvalidTargetError[] = |
| + "Either tab id or extension id must be specified."; |
| const char kNotAttachedError[] = |
| - "Debugger is not attached to the tab with id: *."; |
| + "Debugger is not attached to the * with id: *."; |
| const char kProtocolVersionNotSupportedError[] = |
| "Requested protocol version is not supported: *."; |
| +const char kSilentDebuggingRequired[] = |
| + "Cannot attach to an extension, --* command line option required."; |
|
pfeldman
2013/02/26 11:33:12
It is now a part of about flags.
Vladislav Kaznacheev
2013/02/26 11:43:22
Done.
|
| + |
| +const char kTabTargetType[] = "tab"; |
| +const char kExtensionTargetType[] = "extension"; |
| } // namespace debugger_api_constants |