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

Side by Side Diff: content/public/test/content_test_suite_base.cc

Issue 2675163002: Add gpu_main_thread_factory.h to expose less of content's guts. (Closed)
Patch Set: Getter does not need exporting Created 3 years, 10 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/browser/gpu/gpu_process_host.cc ('k') | no next file » | 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 #include "content/public/test/content_test_suite_base.h" 5 #include "content/public/test/content_test_suite_base.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/metrics/statistics_recorder.h" 10 #include "base/metrics/statistics_recorder.h"
11 #include "base/test/test_suite.h" 11 #include "base/test/test_suite.h"
12 #include "base/threading/sequenced_worker_pool.h" 12 #include "base/threading/sequenced_worker_pool.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/browser/gpu/gpu_process_host.h" 14 #include "content/browser/gpu/gpu_main_thread_factory.h"
15 #include "content/browser/renderer_host/render_process_host_impl.h" 15 #include "content/browser/renderer_host/render_process_host_impl.h"
16 #include "content/browser/utility_process_host_impl.h" 16 #include "content/browser/utility_process_host_impl.h"
17 #include "content/common/url_schemes.h" 17 #include "content/common/url_schemes.h"
18 #include "content/gpu/in_process_gpu_thread.h" 18 #include "content/gpu/in_process_gpu_thread.h"
19 #include "content/public/common/content_client.h" 19 #include "content/public/common/content_client.h"
20 #include "content/renderer/in_process_renderer_thread.h" 20 #include "content/renderer/in_process_renderer_thread.h"
21 #include "content/utility/in_process_utility_thread.h" 21 #include "content/utility/in_process_utility_thread.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "ui/base/material_design/material_design_controller.h" 23 #include "ui/base/material_design/material_design_controller.h"
24 #include "ui/base/ui_base_paths.h" 24 #include "ui/base/ui_base_paths.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 SetContentClient(content_client); 97 SetContentClient(content_client);
98 content::RegisterContentSchemes(false); 98 content::RegisterContentSchemes(false);
99 SetContentClient(NULL); 99 SetContentClient(NULL);
100 } 100 }
101 101
102 void ContentTestSuiteBase::RegisterInProcessThreads() { 102 void ContentTestSuiteBase::RegisterInProcessThreads() {
103 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory( 103 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory(
104 CreateInProcessUtilityThread); 104 CreateInProcessUtilityThread);
105 RenderProcessHostImpl::RegisterRendererMainThreadFactory( 105 RenderProcessHostImpl::RegisterRendererMainThreadFactory(
106 CreateInProcessRendererThread); 106 CreateInProcessRendererThread);
107 GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread); 107 content::RegisterGpuMainThreadFactory(CreateInProcessGpuThread);
108 } 108 }
109 109
110 } // namespace content 110 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698