summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/extension_automation_constants.cc
blob: c4e6fce944e58b925710db711d4c10af597f32da (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
// Copyright (c) 2010 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/automation/extension_automation_constants.h"

namespace extension_automation_constants {

const char kAutomationOrigin[] = "__priv_xtapi";
const char kAutomationRequestIdKey[] = "rqid";

const char kAutomationHasCallbackKey[] = "hascb";
const char kAutomationErrorKey[] = "err";
const char kAutomationNameKey[] = "name";
const char kAutomationArgsKey[] = "args";
const char kAutomationResponseKey[] = "res";
const char kAutomationRequestTarget[] = "__priv_xtreq";
const char kAutomationResponseTarget[] = "__priv_xtres";

const char kAutomationConnectionIdKey[] = "connid";
const char kAutomationMessageDataKey[] = "data";
const char kAutomationExtensionIdKey[] = "extid";
const char kAutomationPortIdKey[] = "portid";
const char kAutomationChannelNameKey[] = "chname";
const char kAutomationTabJsonKey[] = "tab";

const char kAutomationPortRequestTarget[] = "__priv_prtreq";
const char kAutomationPortResponseTarget[] = "__priv_prtres";

const char kAutomationBrowserEventRequestTarget[] = "__priv_evtreq";

}  // namespace extension_automation_constants