summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_debugger_api_constants.h
blob: 622504c724e1818c48c3b2606537ea1d8225d6b1 (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
31
32
33
34
// 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.

// Constants used for the Cookies API.

#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_
#pragma once

namespace extension_debugger_api_constants {

// Keys.
extern const char kCommandKey[];
extern const char kDataKey[];
extern const char kTabIdKey[];
extern const char kVersionIdKey[];

// Events.
extern const char kOnEvent[];
extern const char kOnDetach[];

// Errors.
extern const char kAlreadyAttachedError[];
extern const char kAttachToWebUIError[];
extern const char kDebuggerExecuteFailedError[];
extern const char kNoTabError[];
extern const char kNotAttachedError[];
extern const char kPermissionError[];
extern const char kProtocolVersionNotSupportedError[];

}  // namespace extension_debugger_api_constants

#endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_