Index: chrome/test/chromedriver/chrome/web_view_impl_unittest.cc |
diff --git a/chrome/test/chromedriver/chrome/web_view_impl_unittest.cc b/chrome/test/chromedriver/chrome/web_view_impl_unittest.cc |
index 755f655447dd022dbf57451a5e790e591a3058f7..179a8bb3f1d8f349ca4d24e4fdfc9385001043fd 100644 |
--- a/chrome/test/chromedriver/chrome/web_view_impl_unittest.cc |
+++ b/chrome/test/chromedriver/chrome/web_view_impl_unittest.cc |
@@ -36,12 +36,18 @@ class FakeDevToolsClient : public DevToolsClient { |
Status SendCommand( |
const std::string& method, |
const base::DictionaryValue& params) override { |
- return SendCommandAndGetResult(method, params, NULL); |
+ return SendCommandAndGetResult(method, params, nullptr); |
+ } |
+ Status SendCommandWithTimeout( |
+ const std::string& method, |
+ const base::DictionaryValue& params, |
+ const Timeout* timeout) override { |
+ return SendCommandAndGetResult(method, params, nullptr); |
} |
Status SendAsyncCommand( |
const std::string& method, |
const base::DictionaryValue& params) override { |
- return SendCommandAndGetResult(method, params, NULL); |
+ return SendCommandAndGetResult(method, params, nullptr); |
} |
Status SendCommandAndGetResult( |
const std::string& method, |
@@ -52,9 +58,16 @@ class FakeDevToolsClient : public DevToolsClient { |
result->reset(result_.DeepCopy()); |
return Status(kOk); |
} |
+ Status SendCommandAndGetResultWithTimeout( |
+ const std::string& method, |
+ const base::DictionaryValue& params, |
+ const Timeout* timeout, |
+ std::unique_ptr<base::DictionaryValue>* result) override { |
+ return SendCommandAndGetResult(method, params, result); |
+ } |
void AddListener(DevToolsEventListener* listener) override {} |
Status HandleEventsUntil(const ConditionalFunc& conditional_func, |
- const base::TimeDelta& timeout) override { |
+ const Timeout& timeout) override { |
return Status(kOk); |
} |
Status HandleReceivedEvents() override { return Status(kOk); } |