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); |