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

Side by Side Diff: content/public/test/test_renderer_host.h

Issue 2250473005: content: Fix Context creation logic in ContextProviderFactoryImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use mock factory Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 namespace ui { 31 namespace ui {
32 class ScopedOleInitializer; 32 class ScopedOleInitializer;
33 } 33 }
34 34
35 namespace content { 35 namespace content {
36 36
37 class BrowserContext; 37 class BrowserContext;
38 class ContentBrowserSanityChecker; 38 class ContentBrowserSanityChecker;
39 class MockGpuChannelEstablishFactory;
39 class MockRenderProcessHost; 40 class MockRenderProcessHost;
40 class MockRenderProcessHostFactory; 41 class MockRenderProcessHostFactory;
41 class NavigationController; 42 class NavigationController;
42 class RenderProcessHostFactory; 43 class RenderProcessHostFactory;
43 class RenderViewHostDelegate; 44 class RenderViewHostDelegate;
44 class TestRenderFrameHostFactory; 45 class TestRenderFrameHostFactory;
45 class TestRenderViewHostFactory; 46 class TestRenderViewHostFactory;
46 class WebContents; 47 class WebContents;
47 struct WebPreferences; 48 struct WebPreferences;
48 49
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 275
275 std::unique_ptr<BrowserContext> browser_context_; 276 std::unique_ptr<BrowserContext> browser_context_;
276 277
277 std::unique_ptr<WebContents> contents_; 278 std::unique_ptr<WebContents> contents_;
278 #if defined(OS_WIN) 279 #if defined(OS_WIN)
279 std::unique_ptr<ui::ScopedOleInitializer> ole_initializer_; 280 std::unique_ptr<ui::ScopedOleInitializer> ole_initializer_;
280 #endif 281 #endif
281 #if defined(USE_AURA) 282 #if defined(USE_AURA)
282 std::unique_ptr<aura::test::AuraTestHelper> aura_test_helper_; 283 std::unique_ptr<aura::test::AuraTestHelper> aura_test_helper_;
283 #endif 284 #endif
285 #if defined(OS_ANDROID)
286 std::unique_ptr<MockGpuChannelEstablishFactory> gpu_channel_factory_;
287 #endif
284 RenderViewHostTestEnabler rvh_test_enabler_; 288 RenderViewHostTestEnabler rvh_test_enabler_;
285 289
286 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 290 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
287 }; 291 };
288 292
289 } // namespace content 293 } // namespace content
290 294
291 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 295 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698