diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 03:55:54 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 03:55:54 +0000 |
commit | 7c4ddc45fc07c653733e260f9814f25d85594717 (patch) | |
tree | a4c715a1c9e65c7c353d57ccd2aabbe06fab2977 /chrome/browser/automation/extension_automation_constants.cc | |
parent | fa8a2b1b050009d67e03cf03a26d7d558afe0ecb (diff) | |
download | chromium_src-7c4ddc45fc07c653733e260f9814f25d85594717.zip chromium_src-7c4ddc45fc07c653733e260f9814f25d85594717.tar.gz chromium_src-7c4ddc45fc07c653733e260f9814f25d85594717.tar.bz2 |
Committing issue 113734 for Joi.
Description:
Make sure extension_uitest.cc is actually built (my bad - got confused
about the whole .gyp vs. .sln thing).
Also, to get things building now that extension_uitest.cc is built,
shuffle the extension automation constants around so they end up in
the browser library (I didn't realize the UI tests are already linking
with that, and the linker was bringing in the
automation_extension_function.obj file ended up causing lots of
unresolved linker problems). Note that this did build the other day
when I submitted the file originally, but it must have been
essentially a fluke that the linker chose the other .obj file to get
the constants.
BUG=none
TEST=none
Original issue: http://codereview.chromium.org/113734
Review URL: http://codereview.chromium.org/113788
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/extension_automation_constants.cc')
-rw-r--r-- | chrome/browser/automation/extension_automation_constants.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/browser/automation/extension_automation_constants.cc b/chrome/browser/automation/extension_automation_constants.cc new file mode 100644 index 0000000..425c634 --- /dev/null +++ b/chrome/browser/automation/extension_automation_constants.cc @@ -0,0 +1,28 @@ +// 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 char kAutomationPortRequestTarget[] = "__priv_prtreq"; +const char kAutomationPortResponseTarget[] = "__priv_prtres"; + + +} // namespace extension_automation_constants |