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/webdriver_command.h" | 5 #include "chrome/test/webdriver/commands/webdriver_command.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/test/webdriver/commands/response.h" | 14 #include "chrome/test/webdriver/commands/response.h" |
15 #include "chrome/test/webdriver/webdriver_error.h" | 15 #include "chrome/test/webdriver/webdriver_error.h" |
16 #include "chrome/test/webdriver/webdriver_logging.h" | 16 #include "chrome/test/webdriver/webdriver_logging.h" |
17 #include "chrome/test/webdriver/webdriver_session.h" | 17 #include "chrome/test/webdriver/webdriver_session.h" |
18 #include "chrome/test/webdriver/webdriver_session_manager.h" | 18 #include "chrome/test/webdriver/webdriver_session_manager.h" |
19 #include "chrome/test/webdriver/webdriver_util.h" | 19 #include "chrome/test/webdriver/webdriver_util.h" |
20 | 20 |
21 namespace webdriver { | 21 namespace webdriver { |
22 | 22 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 "Command finished (%s) with response %s", | 82 "Command finished (%s) with response %s", |
83 JoinString(path_segments_, '/').c_str(), | 83 JoinString(path_segments_, '/').c_str(), |
84 JsonStringifyForDisplay(response->GetDictionary()).c_str())); | 84 JsonStringifyForDisplay(response->GetDictionary()).c_str())); |
85 } | 85 } |
86 | 86 |
87 bool WebDriverCommand::ShouldRunPreAndPostCommandHandlers() { | 87 bool WebDriverCommand::ShouldRunPreAndPostCommandHandlers() { |
88 return true; | 88 return true; |
89 } | 89 } |
90 | 90 |
91 } // namespace webdriver | 91 } // namespace webdriver |
OLD | NEW |