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

Unified Diff: components/test_runner/test_runner.h

Issue 2012653004: content_shell: Fix a regression for paths starting with /media/. (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
« no previous file with comments | « no previous file | 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 77c31364c8db3ddb3be64f6d8a32371c98ee7890..fc9c732f43293e982f8d4a24f22b282fab5b5aa8 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -132,6 +132,8 @@ 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; }
// 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
@@ -637,6 +639,9 @@ 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_;
+
base::WeakPtrFactory<TestRunner> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(TestRunner);
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698