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

Side by Side Diff: chrome/test/webdriver/webdriver_capabilities_parser.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) 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 #include "chrome/test/webdriver/webdriver_capabilities_parser.h" 5 #include "chrome/test/webdriver/webdriver_capabilities_parser.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/string_util.h"
10 #include "base/string_util.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/webdriver/webdriver_error.h" 13 #include "chrome/test/webdriver/webdriver_error.h"
14 #include "chrome/test/webdriver/webdriver_logging.h" 14 #include "chrome/test/webdriver/webdriver_logging.h"
15 #include "chrome/test/webdriver/webdriver_util.h" 15 #include "chrome/test/webdriver/webdriver_util.h"
16 16
17 using base::DictionaryValue; 17 using base::DictionaryValue;
18 using base::Value; 18 using base::Value;
19 19
20 namespace webdriver { 20 namespace webdriver {
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 if (!switches->GetString(i, &switch_name)) { 444 if (!switches->GetString(i, &switch_name)) {
445 return new Error(kBadRequest, 445 return new Error(kBadRequest,
446 "Each switch to be removed must be a string"); 446 "Each switch to be removed must be a string");
447 } 447 }
448 caps_->exclude_switches.insert(switch_name); 448 caps_->exclude_switches.insert(switch_name);
449 } 449 }
450 return NULL; 450 return NULL;
451 } 451 }
452 452
453 } // namespace webdriver 453 } // namespace webdriver
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.cc ('k') | chrome/test/webdriver/webdriver_dispatch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698