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

Unified Diff: components/test_runner/test_runner.h

Issue 2013203003: content_shell: Update absolute path rewriting logic again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index fc9c732f43293e982f8d4a24f22b282fab5b5aa8..53f5c6158fb908bd110244cdd14353a02341b534 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -132,8 +132,10 @@ class TestRunner : public WebTestRunner {
bool shouldDumpSpellCheckCallbacks() const;
bool shouldWaitUntilExternalURLLoad() const;
const std::set<std::string>* httpHeadersToClear() const;
- bool did_request_after_reset() const { return did_request_after_reset_; }
- void set_did_request_after_reset() { did_request_after_reset_ = true; }
+ bool is_web_platform_tests_mode() const {
+ return is_web_platform_tests_mode_;
+ }
+ void set_is_web_platform_tests_mode() { is_web_platform_tests_mode_ = true; }
// To be called when |frame| starts loading - TestRunner will check if
// there is currently no top-loading-frame being tracked and if so, then it
@@ -639,8 +641,8 @@ class TestRunner : public WebTestRunner {
std::set<blink::WebWidget*> widgets_with_scheduled_animations_;
- // True if we requested any resource after Reset().
- bool did_request_after_reset_;
+ // True if we run a test in LayoutTests/imported/wpt/.
+ bool is_web_platform_tests_mode_;
base::WeakPtrFactory<TestRunner> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698