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

Side by Side Diff: chrome/test/webdriver/dispatch.h

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 2 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
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/tools/convert_dict/aff_reader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_TEST_WEBDRIVER_DISPATCH_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_DISPATCH_H_
6 #define CHROME_TEST_WEBDRIVER_DISPATCH_H_ 6 #define CHROME_TEST_WEBDRIVER_DISPATCH_H_
7 7
8 #include <sstream> 8 #include <sstream>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/string_split.h"
14 #include "base/string_util.h" 15 #include "base/string_util.h"
15 #include "chrome/test/webdriver/utility_functions.h" 16 #include "chrome/test/webdriver/utility_functions.h"
16 #include "chrome/test/webdriver/commands/command.h" 17 #include "chrome/test/webdriver/commands/command.h"
17 18
18 #include "third_party/mongoose/mongoose.h" 19 #include "third_party/mongoose/mongoose.h"
19 20
20 namespace webdriver { 21 namespace webdriver {
21 22
22 class Command; 23 class Command;
23 24
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 LOG(INFO) << "Dispatching " << method << " " << uri 69 LOG(INFO) << "Dispatching " << method << " " << uri
69 << std::string(request_info->post_data, 70 << std::string(request_info->post_data,
70 request_info->post_data_len) << std::endl; 71 request_info->post_data_len) << std::endl;
71 scoped_ptr<CommandType> ptr(new CommandType(path_segments, parameters)); 72 scoped_ptr<CommandType> ptr(new CommandType(path_segments, parameters));
72 DispatchCommand(ptr.get(), method, &response); 73 DispatchCommand(ptr.get(), method, &response);
73 SendResponse(connection, request_info, response); 74 SendResponse(connection, request_info, response);
74 } 75 }
75 } // namespace webdriver 76 } // namespace webdriver
76 #endif // CHROME_TEST_WEBDRIVER_DISPATCH_H_ 77 #endif // CHROME_TEST_WEBDRIVER_DISPATCH_H_
77 78
OLDNEW
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/tools/convert_dict/aff_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698