| Index: chrome/test/webdriver/dispatch.h
|
| ===================================================================
|
| --- chrome/test/webdriver/dispatch.h (revision 88495)
|
| +++ chrome/test/webdriver/dispatch.h (working copy)
|
| @@ -9,7 +9,6 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| -#include "base/logging.h"
|
| #include "chrome/test/webdriver/commands/response.h"
|
| #include "third_party/mongoose/mongoose.h"
|
|
|
| @@ -69,19 +68,15 @@
|
| &path_segments,
|
| ¶meters,
|
| &response)) {
|
| - std::string post_data(request_info->post_data, request_info->post_data_len);
|
| - LOG(INFO) << "Received command, url: " << request_info->uri
|
| - << ", method: " << request_info->request_method
|
| - << ", postd data: " << post_data;
|
| internal::DispatchHelper(
|
| new CommandType(path_segments, parameters),
|
| method,
|
| &response);
|
| }
|
| +
|
| internal::SendResponse(connection,
|
| request_info->request_method,
|
| response);
|
| - LOG(INFO) << "Sent command response, url: " << request_info->uri;
|
| }
|
|
|
| class Dispatcher {
|
| @@ -105,12 +100,8 @@
|
| // Registers a callback for the given pattern that will return a simple
|
| // "HTTP/1.1 200 OK" message with "ok" in the body. Used for checking the
|
| // status of the server.
|
| - void AddHealthz(const std::string& pattern);
|
| + void AddStatus(const std::string& pattern);
|
|
|
| - // Registers a callback for the given pattern that will return the current
|
| - // WebDriver log contents.
|
| - void AddLog(const std::string& pattern);
|
| -
|
| // Registers a callback that will always respond with a
|
| // "HTTP/1.1 501 Not Implemented" message.
|
| void SetNotImplemented(const std::string& pattern);
|
|
|