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

Unified Diff: components/test_runner/web_test_runner.h

Issue 1736353002: ABANDONED CL: Shared-memory-based approach to layout tests runtime flags replication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/test_runner/test_runner.cc ('k') | content/shell/browser/layout_test/blink_test_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_runner.h
diff --git a/components/test_runner/web_test_runner.h b/components/test_runner/web_test_runner.h
index 612baf75fca2fbd1124768c23bb31769c50afe10..57762034c4359198e2465663201281994dee5c06 100644
--- a/components/test_runner/web_test_runner.h
+++ b/components/test_runner/web_test_runner.h
@@ -18,6 +18,14 @@ struct LayoutDumpFlags;
class WebTestRunner {
public:
+ // Resets everything (i.e. LayoutDumpFlags) in preparation for the next test.
+ virtual void Reset() = 0;
+
+ // Used to provide the test runner with the pointer to memory shared across
+ // all renderers (and containing LayoutDumpFlags).
+ virtual void SetSharedLayoutDumpFlags(
+ LayoutDumpFlags* shared_layout_dump_flags) = 0;
+
// Returns a mock WebContentSettings that is used for layout tests. An
// embedder should use this for all WebViews it creates.
virtual blink::WebContentSettingsClient* GetWebContentSettings() const = 0;
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/shell/browser/layout_test/blink_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698