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

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

Issue 16753002: Use a direct include of strings headers in chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/log_command.h" 5 #include "chrome/test/webdriver/commands/log_command.h"
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/test/webdriver/commands/response.h" 9 #include "chrome/test/webdriver/commands/response.h"
10 #include "chrome/test/webdriver/webdriver_error.h" 10 #include "chrome/test/webdriver/webdriver_error.h"
11 #include "chrome/test/webdriver/webdriver_session.h" 11 #include "chrome/test/webdriver/webdriver_session.h"
12 12
13 namespace webdriver { 13 namespace webdriver {
14 14
15 LogCommand::LogCommand( 15 LogCommand::LogCommand(
16 const std::vector<std::string>& path_segments, 16 const std::vector<std::string>& path_segments,
17 DictionaryValue* parameters) 17 DictionaryValue* parameters)
(...skipping 22 matching lines...) Expand all
40 40
41 if (log_type.type() == LogType::kDriver) { 41 if (log_type.type() == LogType::kDriver) {
42 response->SetValue(session_->GetLog()); 42 response->SetValue(session_->GetLog());
43 } else { 43 } else {
44 response->SetError(new Error(kUnknownError, "Unrecognized type: " + type)); 44 response->SetError(new Error(kUnknownError, "Unrecognized type: " + type));
45 return; 45 return;
46 } 46 }
47 } 47 }
48 48
49 } // namespace webdriver 49 } // namespace webdriver
OLDNEW
« no previous file with comments | « chrome/test/webdriver/commands/cookie_commands.cc ('k') | chrome/test/webdriver/commands/set_timeout_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698