Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: components/html_viewer/web_test_delegate_impl.h

Issue 1308973005: html_viewer/web_view: An app for running layout-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot/merge Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/layout_test_html_viewer.cc ('k') | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « components/html_viewer/layout_test_html_viewer.cc ('k') | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698