summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/extension_automation_constants.cc
blob: c513945a5506601afb3f347b134a9cc31a64593c (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) 2009 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 wchar_t kAutomationRequestIdKey[] = L"rqid";

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

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

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

const char kAutomationBrowserEventRequestTarget[] = "__priv_evtreq";

}  // namespace extension_automation_constants