OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/test/webdriver/commands/find_element_commands.h" | 5 #include "chrome/test/webdriver/commands/find_element_commands.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
11 #include "base/threading/platform_thread.h" | 11 #include "base/threading/platform_thread.h" |
| 12 #include "base/time.h" |
12 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "third_party/webdriver/atoms.h" | 15 #include "third_party/webdriver/atoms.h" |
15 #include "chrome/test/webdriver/error_codes.h" | 16 #include "chrome/test/webdriver/error_codes.h" |
16 #include "chrome/test/webdriver/utility_functions.h" | 17 #include "chrome/test/webdriver/utility_functions.h" |
17 | 18 |
18 namespace webdriver { | 19 namespace webdriver { |
19 | 20 |
20 FindElementCommand::FindElementCommand( | 21 FindElementCommand::FindElementCommand( |
21 const std::vector<std::string>& path_segments, | 22 const std::vector<std::string>& path_segments, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 response->set_value(result); | 121 response->set_value(result); |
121 response->set_status(error); | 122 response->set_status(error); |
122 } | 123 } |
123 | 124 |
124 bool FindElementCommand::RequiresValidTab() { | 125 bool FindElementCommand::RequiresValidTab() { |
125 return false; | 126 return false; |
126 } | 127 } |
127 | 128 |
128 } // namespace webdriver | 129 } // namespace webdriver |
129 | 130 |
OLD | NEW |