diff options
author | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 18:08:17 +0000 |
---|---|---|
committer | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 18:08:17 +0000 |
commit | a7eee32f5e2250e5bf8d2b47612e9de140a7e850 (patch) | |
tree | f2566d8b303f7bfce163023218424b701af95b65 /chrome/common | |
parent | 8538894e63ccd5239049484737fb4b819fe49bad (diff) | |
download | chromium_src-a7eee32f5e2250e5bf8d2b47612e9de140a7e850.zip chromium_src-a7eee32f5e2250e5bf8d2b47612e9de140a7e850.tar.gz chromium_src-a7eee32f5e2250e5bf8d2b47612e9de140a7e850.tar.bz2 |
Re-do of r16741 (http://codereview.chromium.org/113482).
Moved the new automation message in automation_messages_internal.h to the END of the enum as per the large scary warning that I skillfully missed last time around.
TBR=amit
Review URL: http://codereview.chromium.org/115711
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/automation_constants.cc | 15 | ||||
-rw-r--r-- | chrome/common/automation_constants.h | 19 | ||||
-rw-r--r-- | chrome/common/common.vcproj | 8 |
3 files changed, 42 insertions, 0 deletions
diff --git a/chrome/common/automation_constants.cc b/chrome/common/automation_constants.cc new file mode 100644 index 0000000..185d57b --- /dev/null +++ b/chrome/common/automation_constants.cc @@ -0,0 +1,15 @@ +// Copyright (c) 2006-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/common/automation_constants.h" + +namespace automation { +// JSON value labels for proxy settings that are passed in via +// AutomationMsg_SetProxyConfig. +const wchar_t kJSONProxyAutoconfig[] = L"proxy.autoconfig"; +const wchar_t kJSONProxyNoProxy[] = L"proxy.no_proxy"; +const wchar_t kJSONProxyPacUrl[] = L"proxy.pac_url"; +const wchar_t kJSONProxyBypassList[] = L"proxy.bypass_list"; +const wchar_t kJSONProxyServer[] = L"proxy.server"; +} diff --git a/chrome/common/automation_constants.h b/chrome/common/automation_constants.h new file mode 100644 index 0000000..9c31bd1 --- /dev/null +++ b/chrome/common/automation_constants.h @@ -0,0 +1,19 @@ +// Copyright (c) 2006-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. + +#ifndef CHROME_COMMON_AUTOMATION_CONSTANTS_H__ +#define CHROME_COMMON_AUTOMATION_CONSTANTS_H__ + +namespace automation { +// JSON value labels for proxy settings that are passed in via +// AutomationMsg_SetProxyConfig. These are here since they are used by both +// AutomationProvider and AutomationProxy. +extern const wchar_t kJSONProxyAutoconfig[]; +extern const wchar_t kJSONProxyNoProxy[]; +extern const wchar_t kJSONProxyPacUrl[]; +extern const wchar_t kJSONProxyBypassList[]; +extern const wchar_t kJSONProxyServer[]; +} + +#endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ diff --git a/chrome/common/common.vcproj b/chrome/common/common.vcproj index 25b8b16..216a551 100644 --- a/chrome/common/common.vcproj +++ b/chrome/common/common.vcproj @@ -306,6 +306,14 @@ </File> </Filter> <File + RelativePath=".\automation_constants.cc" + > + </File> + <File + RelativePath=".\automation_constants.h" + > + </File> + <File RelativePath=".\bindings_policy.h" > </File> |