| Index: chrome/test/chromedriver/chrome/web_view_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| index 152450420f2267ede535ccf5caa5a4b1ccdfb695..ddba9aa89a8e2ee11778c3ec994ec901170ffac4 100644
|
| --- a/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| @@ -200,6 +200,23 @@ Status WebViewImpl::Load(const std::string& url, const Timeout* timeout) {
|
| return client_->SendCommandWithTimeout("Page.navigate", params, timeout);
|
| }
|
|
|
| +Status WebViewImpl::SendCommand(const std::string& cmd,
|
| + const base::DictionaryValue& params) {
|
| + return client_->SendCommand(cmd, params);
|
| +}
|
| +
|
| +Status WebViewImpl::SendCommandAndGetResult(
|
| + const std::string& cmd,
|
| + const base::DictionaryValue& params,
|
| + std::unique_ptr<base::Value>* value) {
|
| + std::unique_ptr<base::DictionaryValue> result;
|
| + Status status = client_->SendCommandAndGetResult(cmd, params, &result);
|
| + if (status.IsError())
|
| + return status;
|
| + *value = std::move(result);
|
| + return Status(kOk);
|
| +}
|
| +
|
| Status WebViewImpl::Reload(const Timeout* timeout) {
|
| base::DictionaryValue params;
|
| params.SetBoolean("ignoreCache", false);
|
|
|