summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/debugger/debugger_api_constants.cc
blob: a9f5c6eb0c8f00d4729c4805649f4bd05e5c94f8 (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
25
26
27
28
29
30
// Copyright (c) 2012 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/api/debugger/debugger_api_constants.h"

namespace debugger_api_constants {

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

const char kAlreadyAttachedError[] =
    "Another debugger is already attached to the * with id: *.";
const char kAttachToWebUIError[] =
    "Can not attach to the page with the \"*://\" scheme.";
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 * with id: *.";
const char kProtocolVersionNotSupportedError[] =
    "Requested protocol version is not supported: *.";
const char kSilentDebuggingRequired[] =
    "Cannot attach to this target unless '*' flag is enabled.";

const char kTabTargetType[] = "tab";
const char kBackgroundPageTargetType[] = "background page";
const char kOpaqueTargetType[] = "target";

}  // namespace debugger_api_constants