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

Unified Diff: content/public/test/test_renderer_host.h

Issue 2785523002: Reduce/remove usage of BrowserThread in content/browser/loader. (Closed)
Patch Set: Fix unittests redness Created 3 years, 9 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: content/public/test/test_renderer_host.h
diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h
index 8dc63b8110928a313354ba2371e5ed27ab56caf7..f1e3f7b7880b1b74b97a70bed9ab63201e4262c7 100644
--- a/content/public/test/test_renderer_host.h
+++ b/content/public/test/test_renderer_host.h
@@ -40,6 +40,7 @@ namespace content {
class BrowserContext;
class ContentBrowserSanityChecker;
+class LoaderGlobals;
class MockRenderProcessHost;
class MockRenderProcessHostFactory;
class NavigationController;
@@ -193,6 +194,7 @@ class RenderViewHostTestEnabler {
std::unique_ptr<MockRenderProcessHostFactory> rph_factory_;
std::unique_ptr<TestRenderViewHostFactory> rvh_factory_;
std::unique_ptr<TestRenderFrameHostFactory> rfh_factory_;
+ std::unique_ptr<LoaderGlobals> loader_globals_;
};
// RenderViewHostTestHarness ---------------------------------------------------
@@ -292,6 +294,9 @@ class RenderViewHostTestHarness : public testing::Test {
std::unique_ptr<aura::test::AuraTestHelper> aura_test_helper_;
#endif
std::unique_ptr<RenderViewHostTestEnabler> rvh_test_enabler_;
+
+ std::unique_ptr<LoaderGlobals> loader_globals_;
+
RenderProcessHostFactory* factory_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);

Powered by Google App Engine
This is Rietveld 408576698