普通文本  |  25行  |  956 B

// 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