| Index: chrome/test/webdriver/server.cc
|
| diff --git a/chrome/test/webdriver/server.cc b/chrome/test/webdriver/server.cc
|
| index 640952430db2560f4b5f0d29138644452811dc98..79c2b232742717cc1fbb4b6c1c7ee75e6fe9a249 100644
|
| --- a/chrome/test/webdriver/server.cc
|
| +++ b/chrome/test/webdriver/server.cc
|
| @@ -25,6 +25,7 @@
|
| #include "chrome/test/webdriver/dispatch.h"
|
| #include "chrome/test/webdriver/session_manager.h"
|
| #include "chrome/test/webdriver/utility_functions.h"
|
| +#include "chrome/test/webdriver/commands/cookie_commands.h"
|
| #include "chrome/test/webdriver/commands/create_session.h"
|
| #include "chrome/test/webdriver/commands/execute_command.h"
|
| #include "chrome/test/webdriver/commands/find_element_commands.h"
|
| @@ -71,6 +72,10 @@ void InitCallbacks(struct mg_context* ctx) {
|
| SetCallback<URLCommand>(ctx, "/session/*/url");
|
| SetCallback<SpeedCommand>(ctx, "/session/*/speed");
|
|
|
| + // Cookie functions.
|
| + SetCallback<CookieCommand>(ctx, "/session/*/cookie");
|
| + SetCallback<NamedCookieCommand>(ctx, "/session/*/cookie/*");
|
| +
|
| // WebElement commands
|
| SetCallback<ImplicitWaitCommand>(ctx, "/session/*/timeouts/implicit_wait");
|
| SetCallback<FindOneElementCommand>(ctx, "/session/*/element");
|
|
|