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

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: update comments 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
« 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 fc9c732f43293e982f8d4a24f22b282fab5b5aa8..0901c6255bc661c23925db925db8de8e1b3fb76b 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/{csswg-test,wpt}/.
+ bool is_web_platform_tests_mode_;
base::WeakPtrFactory<TestRunner> weak_factory_;
« 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