// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_ #define CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_ #include <string> // WebDriver standard status codes. enum StatusCode { … }; // Represents a WebDriver status, which may be an error or ok. class Status { … }; // Returns the standard error code string associated with a StatusCode, as // defined by W3C (https://w3c.github.io/webdriver/#dfn-error-code). const char* StatusCodeToString(StatusCode code); #endif // CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_