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

Side by Side Diff: chrome/test/webdriver/commands/find_element_commands.cc

Issue 6330012: Cookie commands for the webdriver protocol (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: minor fixes Created 9 years, 10 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) 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
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
OLDNEW
« no previous file with comments | « chrome/test/webdriver/commands/cookie_commands.cc ('k') | chrome/test/webdriver/commands/session_with_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698