| Index: components/html_viewer/web_test_delegate_impl.h
|
| diff --git a/components/html_viewer/web_test_delegate_impl.h b/components/html_viewer/web_test_delegate_impl.h
|
| index b48a6bdf714facb74dc93c6aab95a32eb58ce1a9..a6cebf8c2d0c2a198ceba80bedc90ea6d4b16f09 100644
|
| --- a/components/html_viewer/web_test_delegate_impl.h
|
| +++ b/components/html_viewer/web_test_delegate_impl.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
|
| #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
|
|
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| #include "components/test_runner/test_preferences.h"
|
| #include "components/test_runner/web_test_delegate.h"
|
| @@ -27,6 +28,9 @@ class WebTestDelegateImpl : public test_runner::WebTestDelegate {
|
| void set_test_proxy(test_runner::WebTestProxyBase* proxy) {
|
| proxy_ = proxy;
|
| }
|
| + void set_completion_callback(const base::Closure& callback) {
|
| + completion_callback_ = callback;
|
| + }
|
|
|
| private:
|
| // From test_runner::WebTestDelegate:
|
| @@ -114,6 +118,7 @@ class WebTestDelegateImpl : public test_runner::WebTestDelegate {
|
| test_runner::WebTestInterfaces* test_interfaces_;
|
| test_runner::WebTestProxyBase* proxy_;
|
| std::string dump_tree_;
|
| + base::Closure completion_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
|
| };
|
|
|