| Index: chrome/test/chromedriver/status.h
|
| diff --git a/chrome/test/chromedriver/status.h b/chrome/test/chromedriver/status.h
|
| index a52d6e4154ea50597e7aba020af52ed598ec9cff..7ecb808f163fc7972be95eec67f0ddeb312dbf11 100644
|
| --- a/chrome/test/chromedriver/status.h
|
| +++ b/chrome/test/chromedriver/status.h
|
| @@ -13,7 +13,9 @@ enum StatusCode {
|
| kUnknownCommand = 9,
|
| kUnknownError = 13,
|
| kSessionNotCreatedException = 33,
|
| - kNoSuchSession = 100
|
| + // Chrome-specific status codes.
|
| + kNoSuchSession = 100,
|
| + kChromeNotReachable,
|
| };
|
|
|
| // Represents a WebDriver status, which may be an error or ok.
|
| @@ -21,6 +23,9 @@ class Status {
|
| public:
|
| explicit Status(StatusCode code);
|
| Status(StatusCode code, const std::string& details);
|
| + Status(StatusCode code, const Status& cause);
|
| + Status(StatusCode code, const std::string& details, const Status& cause);
|
| + ~Status();
|
|
|
| bool IsOk() const;
|
| bool IsError() const;
|
|
|