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

Side by Side Diff: chrome/test/chromedriver/chrome/status.h

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_STATUS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_
6 #define CHROME_TEST_CHROMEDRIVER_STATUS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // WebDriver standard status codes. 10 // WebDriver standard status codes.
11 enum StatusCode { 11 enum StatusCode {
12 kOk = 0, 12 kOk = 0,
13 kNoSuchElement = 7, 13 kNoSuchElement = 7,
14 kUnknownCommand = 9, 14 kUnknownCommand = 9,
15 kStaleElementReference = 10, 15 kStaleElementReference = 10,
16 kElementNotVisible = 11, 16 kElementNotVisible = 11,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 StatusCode code() const; 49 StatusCode code() const;
50 50
51 const std::string& message() const; 51 const std::string& message() const;
52 52
53 private: 53 private:
54 StatusCode code_; 54 StatusCode code_;
55 std::string msg_; 55 std::string msg_;
56 }; 56 };
57 57
58 #endif // CHROME_TEST_CHROMEDRIVER_STATUS_H_ 58 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698