Chromium Code Reviews| Index: chrome/test/chromedriver/chrome/devtools_client.cc |
| diff --git a/chrome/test/chromedriver/chrome/devtools_client.cc b/chrome/test/chromedriver/chrome/devtools_client.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..53573b15882b08c2dfec597a01498262cb7a2d21 |
| --- /dev/null |
| +++ b/chrome/test/chromedriver/chrome/devtools_client.cc |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
|
samuong
2016/02/19 20:18:57
it's 2016 :)
Alexander Semashko
2016/02/19 23:38:58
The patch was baking for a long time :) Ok, I'll f
Alexander Semashko
2016/02/24 12:51:20
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/test/chromedriver/chrome/devtools_client.h" |
| + |
| +#include "chrome/test/chromedriver/chrome/status.h" |
| + |
| +Status DevToolsClient::SendCommandWithTimeout( |
| + const std::string& method, |
| + const base::DictionaryValue& params, |
| + const Timeout* timeout) { |
| + return SendCommand(method, params); |
| +} |
| + |
| +Status DevToolsClient::SendCommandAndGetResultWithTimeout( |
| + const std::string& method, |
| + const base::DictionaryValue& params, |
| + const Timeout* timeout, |
| + scoped_ptr<base::DictionaryValue>* result) { |
| + return SendCommandAndGetResult(method, params, result); |
| +} |