summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_debugger_api_constants.cc
blob: 13cb2e176ef84588b26f1ee3befb717be8c38c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/extensions/extension_debugger_api_constants.h"

namespace extension_debugger_api_constants {

const char kCommandKey[] = "command";
const char kDataKey[] = "data";
const char kTabIdKey[] = "tabId";

const char kOnEvent[] = "experimental.debugger.onEvent";
const char kOnDetach[] = "experimental.debugger.onDetach";

const char kAlreadyAttachedError[] =
    "Another debugger is already attached to the tab with id: *.";
const char kDebuggerExecuteFailedError[] = "Execute debugger failed.";
const char kNoTabError[] = "No tab with given id *.";
const char kNotAttachedError[] =
    "Debugger is not attached to the tab with id: *.";
const char kPermissionError[] = "You do not have permission to debug pages.";

}  // namespace extension_debugger_api_constants