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

Unified Diff: content/shell/renderer/test_runner/WebTestDelegate.h

Issue 478483005: Add IPC benchmarking API to Blink TestRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing Created 6 years, 4 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
Index: content/shell/renderer/test_runner/WebTestDelegate.h
diff --git a/content/shell/renderer/test_runner/WebTestDelegate.h b/content/shell/renderer/test_runner/WebTestDelegate.h
index 1b0af10b85d58b001fea4ca77faf30467097b8d1..3d0bf614384187b7ca91f7ababbca352b2120067 100644
--- a/content/shell/renderer/test_runner/WebTestDelegate.h
+++ b/content/shell/renderer/test_runner/WebTestDelegate.h
@@ -168,6 +168,11 @@ public:
// Returns a text dump the back/forward history for the WebView associated
// with the given WebTestProxyBase.
virtual std::string dumpHistoryForWindow(WebTestProxyBase*) = 0;
+
+ // Send an IPC message will will be echoed back.
+ virtual void requestEcho(int id, int size) = 0;
+ virtual int lastEchoId() = 0;
+ virtual int lastEchoSize() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698