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

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

Issue 1424053002: Adds a flag to support "Virtual Time" to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 1 month 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/BUILD.gn ('k') | content/content_browser.gypi » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 18 matching lines...) Expand all
29 #include "base/single_thread_task_runner.h" 29 #include "base/single_thread_task_runner.h"
30 #include "base/stl_util.h" 30 #include "base/stl_util.h"
31 #include "base/strings/string_number_conversions.h" 31 #include "base/strings/string_number_conversions.h"
32 #include "base/supports_user_data.h" 32 #include "base/supports_user_data.h"
33 #include "base/sys_info.h" 33 #include "base/sys_info.h"
34 #include "base/threading/thread.h" 34 #include "base/threading/thread.h"
35 #include "base/threading/thread_restrictions.h" 35 #include "base/threading/thread_restrictions.h"
36 #include "base/trace_event/trace_event.h" 36 #include "base/trace_event/trace_event.h"
37 #include "base/tracked_objects.h" 37 #include "base/tracked_objects.h"
38 #include "cc/base/switches.h" 38 #include "cc/base/switches.h"
39 #include "components/scheduler/common/scheduler_switches.h"
39 #include "components/tracing/tracing_switches.h" 40 #include "components/tracing/tracing_switches.h"
40 #include "content/browser/appcache/appcache_dispatcher_host.h" 41 #include "content/browser/appcache/appcache_dispatcher_host.h"
41 #include "content/browser/appcache/chrome_appcache_service.h" 42 #include "content/browser/appcache/chrome_appcache_service.h"
42 #include "content/browser/background_sync/background_sync_service_impl.h" 43 #include "content/browser/background_sync/background_sync_service_impl.h"
43 #include "content/browser/bad_message.h" 44 #include "content/browser/bad_message.h"
44 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" 45 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h"
45 #include "content/browser/browser_child_process_host_impl.h" 46 #include "content/browser/browser_child_process_host_impl.h"
46 #include "content/browser/browser_main.h" 47 #include "content/browser/browser_main.h"
47 #include "content/browser/browser_main_loop.h" 48 #include "content/browser/browser_main_loop.h"
48 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" 49 #include "content/browser/browser_plugin/browser_plugin_message_filter.h"
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 cc::switches::kShowLayerAnimationBounds, 1421 cc::switches::kShowLayerAnimationBounds,
1421 cc::switches::kShowPropertyChangedRects, 1422 cc::switches::kShowPropertyChangedRects,
1422 cc::switches::kShowReplicaScreenSpaceRects, 1423 cc::switches::kShowReplicaScreenSpaceRects,
1423 cc::switches::kShowScreenSpaceRects, 1424 cc::switches::kShowScreenSpaceRects,
1424 cc::switches::kShowSurfaceDamageRects, 1425 cc::switches::kShowSurfaceDamageRects,
1425 cc::switches::kSlowDownRasterScaleFactor, 1426 cc::switches::kSlowDownRasterScaleFactor,
1426 cc::switches::kStrictLayerPropertyChangeChecking, 1427 cc::switches::kStrictLayerPropertyChangeChecking,
1427 cc::switches::kTopControlsHideThreshold, 1428 cc::switches::kTopControlsHideThreshold,
1428 cc::switches::kTopControlsShowThreshold, 1429 cc::switches::kTopControlsShowThreshold,
1429 1430
1431 scheduler::switches::kEnableVirtualizedTime,
1432
1430 #if defined(ENABLE_PLUGINS) 1433 #if defined(ENABLE_PLUGINS)
1431 switches::kEnablePepperTesting, 1434 switches::kEnablePepperTesting,
1432 #endif 1435 #endif
1433 #if defined(ENABLE_WEBRTC) 1436 #if defined(ENABLE_WEBRTC)
1434 switches::kDisableWebRtcHWDecoding, 1437 switches::kDisableWebRtcHWDecoding,
1435 switches::kDisableWebRtcHWEncoding, 1438 switches::kDisableWebRtcHWEncoding,
1436 switches::kDisableWebRtcMultipleRoutes, 1439 switches::kDisableWebRtcMultipleRoutes,
1437 switches::kEnableWebRtcDtls12, 1440 switches::kEnableWebRtcDtls12,
1438 switches::kEnableWebRtcHWH264Encoding, 1441 switches::kEnableWebRtcHWH264Encoding,
1439 switches::kEnableWebRtcStunOrigin, 1442 switches::kEnableWebRtcStunOrigin,
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2625 void RenderProcessHostImpl::GetAudioOutputControllers( 2628 void RenderProcessHostImpl::GetAudioOutputControllers(
2626 const GetAudioOutputControllersCallback& callback) const { 2629 const GetAudioOutputControllersCallback& callback) const {
2627 audio_renderer_host()->GetOutputControllers(callback); 2630 audio_renderer_host()->GetOutputControllers(callback);
2628 } 2631 }
2629 2632
2630 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2633 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2631 return bluetooth_dispatcher_host_.get(); 2634 return bluetooth_dispatcher_host_.get();
2632 } 2635 }
2633 2636
2634 } // namespace content 2637 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698