Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6025)

Unified Diff: chrome/test/chromedriver/status.h

Issue 11415205: [chromedriver] Implement connecting to devtools and loading a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/net/net_util_unittest.cc ('k') | chrome/test/chromedriver/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/test/chromedriver/net/net_util_unittest.cc ('k') | chrome/test/chromedriver/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698