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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc

Issue 1086733002: Ensure tests have an active task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 8 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: chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc
index d581e5f2b1f2ec6c36e9090f86d7669dba31be38..353f715b84e46f2106818a085206a4b38de2a228 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc
@@ -91,6 +91,10 @@ class WebRequestActionWithThreadsTest : public testing::Test {
// executable for http://clients1.google.com.
void CheckActionNeedsAllUrls(const char* action, RequestStage stage);
+ private:
+ content::TestBrowserThreadBundle thread_bundle_;
+
+ protected:
net::TestURLRequestContext context_;
// An extension with *.com host permissions and the DWR permission.
@@ -98,9 +102,6 @@ class WebRequestActionWithThreadsTest : public testing::Test {
// An extension with host permissions for all URLs and the DWR permission.
scoped_refptr<Extension> extension_all_urls_;
scoped_refptr<InfoMap> extension_info_map_;
-
- private:
- content::TestBrowserThreadBundle thread_bundle_;
};
void WebRequestActionWithThreadsTest::SetUp() {

Powered by Google App Engine
This is Rietveld 408576698