| Index: components/test_runner/web_test_interfaces.h
|
| diff --git a/components/test_runner/web_test_interfaces.h b/components/test_runner/web_test_interfaces.h
|
| index 40562685020805a3e4c6d285f57bbcba8df96651..e5eb770fa0463407d43f03f9b2abc67886b0a077 100644
|
| --- a/components/test_runner/web_test_interfaces.h
|
| +++ b/components/test_runner/web_test_interfaces.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
|
| #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
|
|
|
| +#include "base/callback.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "components/test_runner/test_runner_export.h"
|
|
|
| @@ -36,6 +37,10 @@ class TEST_RUNNER_EXPORT WebTestInterfaces {
|
| WebTestInterfaces();
|
| ~WebTestInterfaces();
|
|
|
| + void set_termination_callback(const base::Closure& callback) {
|
| + termination_ = callback;
|
| + }
|
| +
|
| void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy);
|
| void SetDelegate(WebTestDelegate* delegate);
|
| void BindTo(blink::WebFrame* frame);
|
| @@ -64,6 +69,7 @@ class TEST_RUNNER_EXPORT WebTestInterfaces {
|
|
|
| private:
|
| scoped_ptr<TestInterfaces> interfaces_;
|
| + base::Closure termination_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces);
|
| };
|
|
|