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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates 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 unified diff | Download patch
« no previous file with comments | « content/browser/DEPS ('k') | content/child/BUILD.gn » ('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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 17 matching lines...) Expand all
28 #include "base/stl_util.h" 28 #include "base/stl_util.h"
29 #include "base/strings/string_number_conversions.h" 29 #include "base/strings/string_number_conversions.h"
30 #include "base/strings/string_util.h" 30 #include "base/strings/string_util.h"
31 #include "base/supports_user_data.h" 31 #include "base/supports_user_data.h"
32 #include "base/sys_info.h" 32 #include "base/sys_info.h"
33 #include "base/threading/thread.h" 33 #include "base/threading/thread.h"
34 #include "base/threading/thread_restrictions.h" 34 #include "base/threading/thread_restrictions.h"
35 #include "base/trace_event/trace_event.h" 35 #include "base/trace_event/trace_event.h"
36 #include "base/tracked_objects.h" 36 #include "base/tracked_objects.h"
37 #include "cc/base/switches.h" 37 #include "cc/base/switches.h"
38 #include "components/scheduler/common/scheduler_switches.h"
38 #include "content/browser/appcache/appcache_dispatcher_host.h" 39 #include "content/browser/appcache/appcache_dispatcher_host.h"
39 #include "content/browser/appcache/chrome_appcache_service.h" 40 #include "content/browser/appcache/chrome_appcache_service.h"
40 #include "content/browser/bad_message.h" 41 #include "content/browser/bad_message.h"
41 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" 42 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h"
42 #include "content/browser/browser_child_process_host_impl.h" 43 #include "content/browser/browser_child_process_host_impl.h"
43 #include "content/browser/browser_main.h" 44 #include "content/browser/browser_main.h"
44 #include "content/browser/browser_main_loop.h" 45 #include "content/browser/browser_main_loop.h"
45 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" 46 #include "content/browser/browser_plugin/browser_plugin_message_filter.h"
46 #include "content/browser/cache_storage/cache_storage_context_impl.h" 47 #include "content/browser/cache_storage/cache_storage_context_impl.h"
47 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h" 48 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h"
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 switches::kAuditAllHandles, 1212 switches::kAuditAllHandles,
1212 switches::kAuditHandles, 1213 switches::kAuditHandles,
1213 switches::kBlinkPlatformLogChannels, 1214 switches::kBlinkPlatformLogChannels,
1214 switches::kBlinkSettings, 1215 switches::kBlinkSettings,
1215 switches::kBlockCrossSiteDocuments, 1216 switches::kBlockCrossSiteDocuments,
1216 switches::kDefaultTileWidth, 1217 switches::kDefaultTileWidth,
1217 switches::kDefaultTileHeight, 1218 switches::kDefaultTileHeight,
1218 switches::kDisable3DAPIs, 1219 switches::kDisable3DAPIs,
1219 switches::kDisableAcceleratedJpegDecoding, 1220 switches::kDisableAcceleratedJpegDecoding,
1220 switches::kDisableAcceleratedVideoDecode, 1221 switches::kDisableAcceleratedVideoDecode,
1221 switches::kDisableBlinkScheduler,
1222 switches::kDisableBlinkFeatures, 1222 switches::kDisableBlinkFeatures,
1223 switches::kDisableBreakpad, 1223 switches::kDisableBreakpad,
1224 switches::kDisablePreferCompositingToLCDText, 1224 switches::kDisablePreferCompositingToLCDText,
1225 switches::kDisableDatabases, 1225 switches::kDisableDatabases,
1226 switches::kDisableDirectNPAPIRequests, 1226 switches::kDisableDirectNPAPIRequests,
1227 switches::kDisableDisplayList2dCanvas, 1227 switches::kDisableDisplayList2dCanvas,
1228 switches::kDisableDistanceFieldText, 1228 switches::kDisableDistanceFieldText,
1229 switches::kDisableEncryptedMedia, 1229 switches::kDisableEncryptedMedia,
1230 switches::kDisableFileSystem, 1230 switches::kDisableFileSystem,
1231 switches::kDisableGpuCompositing, 1231 switches::kDisableGpuCompositing,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 cc::switches::kShowFPSCounter, 1349 cc::switches::kShowFPSCounter,
1350 cc::switches::kShowLayerAnimationBounds, 1350 cc::switches::kShowLayerAnimationBounds,
1351 cc::switches::kShowPropertyChangedRects, 1351 cc::switches::kShowPropertyChangedRects,
1352 cc::switches::kShowReplicaScreenSpaceRects, 1352 cc::switches::kShowReplicaScreenSpaceRects,
1353 cc::switches::kShowScreenSpaceRects, 1353 cc::switches::kShowScreenSpaceRects,
1354 cc::switches::kShowSurfaceDamageRects, 1354 cc::switches::kShowSurfaceDamageRects,
1355 cc::switches::kSlowDownRasterScaleFactor, 1355 cc::switches::kSlowDownRasterScaleFactor,
1356 cc::switches::kStrictLayerPropertyChangeChecking, 1356 cc::switches::kStrictLayerPropertyChangeChecking,
1357 cc::switches::kTopControlsHideThreshold, 1357 cc::switches::kTopControlsHideThreshold,
1358 cc::switches::kTopControlsShowThreshold, 1358 cc::switches::kTopControlsShowThreshold,
1359
1360 scheduler::switches::kDisableBlinkScheduler,
1361
1359 #if defined(ENABLE_PLUGINS) 1362 #if defined(ENABLE_PLUGINS)
1360 switches::kEnablePepperTesting, 1363 switches::kEnablePepperTesting,
1361 #endif 1364 #endif
1362 #if defined(ENABLE_WEBRTC) 1365 #if defined(ENABLE_WEBRTC)
1363 switches::kDisableWebRtcHWDecoding, 1366 switches::kDisableWebRtcHWDecoding,
1364 switches::kDisableWebRtcHWEncoding, 1367 switches::kDisableWebRtcHWEncoding,
1365 switches::kEnableWebRtcHWH264Encoding, 1368 switches::kEnableWebRtcHWH264Encoding,
1366 switches::kEnableWebRtcStunOrigin, 1369 switches::kEnableWebRtcStunOrigin,
1367 switches::kWebRtcMaxCaptureFramerate, 1370 switches::kWebRtcMaxCaptureFramerate,
1368 #endif 1371 #endif
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
2480 if (worker_ref_count_ == 0) 2483 if (worker_ref_count_ == 0)
2481 Cleanup(); 2484 Cleanup();
2482 } 2485 }
2483 2486
2484 void RenderProcessHostImpl::GetAudioOutputControllers( 2487 void RenderProcessHostImpl::GetAudioOutputControllers(
2485 const GetAudioOutputControllersCallback& callback) const { 2488 const GetAudioOutputControllersCallback& callback) const {
2486 audio_renderer_host()->GetOutputControllers(callback); 2489 audio_renderer_host()->GetOutputControllers(callback);
2487 } 2490 }
2488 2491
2489 } // namespace content 2492 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698