diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 18:12:57 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 18:12:57 +0000 |
commit | 75895ca88b16d4d80f5cdbb3132bbe9682601aa7 (patch) | |
tree | 4acd34948ac8cc93f4e320a5b98d1635edbdf0de /chrome/common/automation_constants.cc | |
parent | 4f86f27ff9541cd91d4834a9c8163f5751d26e93 (diff) | |
download | chromium_src-75895ca88b16d4d80f5cdbb3132bbe9682601aa7.zip chromium_src-75895ca88b16d4d80f5cdbb3132bbe9682601aa7.tar.gz chromium_src-75895ca88b16d4d80f5cdbb3132bbe9682601aa7.tar.bz2 |
Introduce a ChromeDriver automation version constant and a JSON request
for the client to fetch the server's version. If the server's version is
newer than the client's, warn the client and quit.
Additional small changes:
-Add /healthz callback that sends a 200 status, for checking if the server is up.
-Fix shutdown crash where the AutomationProxy is deleted on the wrong thread.
-Initialize logging correctly.
-Disable mongoose file serving capabilities by default
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6690060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80813 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/automation_constants.cc')
-rw-r--r-- | chrome/common/automation_constants.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/automation_constants.cc b/chrome/common/automation_constants.cc index 9480254..1956ab5 100644 --- a/chrome/common/automation_constants.cc +++ b/chrome/common/automation_constants.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// 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. @@ -18,5 +18,6 @@ const char kJSONProxyServer[] = "proxy.server"; // AutomationProxy to an already-running browser instance. const char kNamedInterfacePrefix[] = "NamedTestingInterface:"; -} // namespace automation +const int kChromeDriverAutomationVersion = 1; +} // namespace automation |