Index: content/shell/renderer/webkit_test_runner.h |
diff --git a/content/shell/renderer/webkit_test_runner.h b/content/shell/renderer/webkit_test_runner.h |
index 94fe374a763bee2e9b56d131b67df5e592dbb092..4423ac5a187db2f8f183fe0e2739e26c7474f745 100644 |
--- a/content/shell/renderer/webkit_test_runner.h |
+++ b/content/shell/renderer/webkit_test_runner.h |
@@ -30,6 +30,7 @@ struct WebRect; |
namespace content { |
+class IPCEcho; |
class LeakDetector; |
class WebTestProxyBase; |
struct LeakDetectionResult; |
@@ -114,6 +115,9 @@ class WebKitTestRunner : public RenderViewObserver, |
const std::string& frame_name) OVERRIDE; |
virtual bool allowExternalPages() OVERRIDE; |
virtual std::string dumpHistoryForWindow(WebTestProxyBase* proxy) OVERRIDE; |
+ virtual void requestEcho(int id, int size) OVERRIDE; |
+ virtual int lastEchoId() OVERRIDE; |
+ virtual int lastEchoSize() OVERRIDE; |
void Reset(); |
@@ -124,6 +128,7 @@ class WebKitTestRunner : public RenderViewObserver, |
private: |
// Message handlers. |
+ void OnEchoPong(int id, const std::string& body); |
void OnSetTestConfiguration(const ShellTestConfiguration& params); |
void OnSessionHistory( |
const std::vector<int>& routing_ids, |
@@ -156,6 +161,7 @@ class WebKitTestRunner : public RenderViewObserver, |
bool focus_on_next_commit_; |
scoped_ptr<LeakDetector> leak_detector_; |
+ scoped_ptr<IPCEcho> ipc_echo_; |
bool needs_leak_detector_; |
DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |