extension_debugger_api_constants.cc revision ddb351dbec246cf1fab5ec20d2d5520909041de1
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
3// found in the LICENSE file.
4
5#include "chrome/browser/extensions/extension_debugger_api_constants.h"
6
7namespace extension_debugger_api_constants {
8
9const char kCommandKey[] = "command";
10const char kDataKey[] = "data";
11const char kTabIdKey[] = "tabId";
12
13const char kOnEvent[] = "experimental.debugger.onEvent";
14const char kOnDetach[] = "experimental.debugger.onDetach";
15
16const char kAlreadyAttachedError[] =
17    "Another debugger is already attached to the tab with id: *.";
18const char kDebuggerExecuteFailedError[] = "Execute debugger failed.";
19const char kNoTabError[] = "No tab with given id *.";
20const char kNotAttachedError[] =
21    "Debugger is not attached to the tab with id: *.";
22const char kPermissionError[] = "You do not have permission to debug pages.";
23
24}  // namespace extension_debugger_api_constants
25