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

Unified Diff: components/test_runner/test_runner.h

Issue 2586943004: DevTools: disable compilation cache for inspector tests to reduce flakiness. (Closed)
Patch Set: Created 4 years 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_interfaces.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 827d4d259799ae8838831cb9753876780706d819..1578370b2c9512d3252ef0deb7cb5866916a65b9 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -117,6 +117,7 @@ class TestRunner : public WebTestRunner {
void ShowDevTools(const std::string& settings,
const std::string& frontend_url);
void ClearDevToolsLocalStorage();
+ void SetV8CacheDisabled(bool);
void setShouldDumpAsText(bool);
void setShouldDumpAsMarkup(bool);
void setCustomTextOutput(const std::string& text);
@@ -657,6 +658,9 @@ class TestRunner : public WebTestRunner {
// An effective connection type settable by layout tests.
blink::WebEffectiveConnectionType effective_connection_type_;
+ // Forces v8 compilation cache to be disabled (used for inspector tests).
+ bool disable_v8_cache_ = false;
+
base::WeakPtrFactory<TestRunner> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(TestRunner);
« no previous file with comments | « components/test_runner/test_interfaces.cc ('k') | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698