summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/debugger/debugger_api_constants.cc
blob: 7ddcd82d6f3b7c40fd8945a2c2841791edaf496b (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
// 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 kAlreadyAttachedError[] =
    "Another debugger is already attached to the * with 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 * 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