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

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

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fixed the test failure this time Created 4 years, 4 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
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 29 matching lines...) Expand all
40 #include "base/threading/thread.h" 40 #include "base/threading/thread.h"
41 #include "base/threading/thread_restrictions.h" 41 #include "base/threading/thread_restrictions.h"
42 #include "base/threading/thread_task_runner_handle.h" 42 #include "base/threading/thread_task_runner_handle.h"
43 #include "base/trace_event/trace_event.h" 43 #include "base/trace_event/trace_event.h"
44 #include "base/tracked_objects.h" 44 #include "base/tracked_objects.h"
45 #include "build/build_config.h" 45 #include "build/build_config.h"
46 #include "cc/base/switches.h" 46 #include "cc/base/switches.h"
47 #include "cc/output/buffer_to_texture_target_map.h" 47 #include "cc/output/buffer_to_texture_target_map.h"
48 #include "components/memory_coordinator/browser/memory_coordinator.h" 48 #include "components/memory_coordinator/browser/memory_coordinator.h"
49 #include "components/memory_coordinator/common/memory_coordinator_features.h" 49 #include "components/memory_coordinator/common/memory_coordinator_features.h"
50 #include "components/scheduler/common/scheduler_switches.h"
51 #include "components/tracing/common/tracing_switches.h" 50 #include "components/tracing/common/tracing_switches.h"
52 #include "content/browser/appcache/appcache_dispatcher_host.h" 51 #include "content/browser/appcache/appcache_dispatcher_host.h"
53 #include "content/browser/appcache/chrome_appcache_service.h" 52 #include "content/browser/appcache/chrome_appcache_service.h"
54 #include "content/browser/background_sync/background_sync_service_impl.h" 53 #include "content/browser/background_sync/background_sync_service_impl.h"
55 #include "content/browser/bad_message.h" 54 #include "content/browser/bad_message.h"
56 #include "content/browser/blob_storage/blob_dispatcher_host.h" 55 #include "content/browser/blob_storage/blob_dispatcher_host.h"
57 #include "content/browser/blob_storage/chrome_blob_storage_context.h" 56 #include "content/browser/blob_storage/chrome_blob_storage_context.h"
58 #include "content/browser/broadcast_channel/broadcast_channel_provider.h" 57 #include "content/browser/broadcast_channel/broadcast_channel_provider.h"
59 #include "content/browser/browser_child_process_host_impl.h" 58 #include "content/browser/browser_child_process_host_impl.h"
60 #include "content/browser/browser_main.h" 59 #include "content/browser/browser_main.h"
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 cc::switches::kShowFPSCounter, 1593 cc::switches::kShowFPSCounter,
1595 cc::switches::kShowLayerAnimationBounds, 1594 cc::switches::kShowLayerAnimationBounds,
1596 cc::switches::kShowPropertyChangedRects, 1595 cc::switches::kShowPropertyChangedRects,
1597 cc::switches::kShowReplicaScreenSpaceRects, 1596 cc::switches::kShowReplicaScreenSpaceRects,
1598 cc::switches::kShowScreenSpaceRects, 1597 cc::switches::kShowScreenSpaceRects,
1599 cc::switches::kShowSurfaceDamageRects, 1598 cc::switches::kShowSurfaceDamageRects,
1600 cc::switches::kSlowDownRasterScaleFactor, 1599 cc::switches::kSlowDownRasterScaleFactor,
1601 cc::switches::kTopControlsHideThreshold, 1600 cc::switches::kTopControlsHideThreshold,
1602 cc::switches::kTopControlsShowThreshold, 1601 cc::switches::kTopControlsShowThreshold,
1603 1602
1604 scheduler::switches::kDisableBackgroundTimerThrottling,
1605
1606 #if defined(ENABLE_PLUGINS) 1603 #if defined(ENABLE_PLUGINS)
1607 switches::kEnablePepperTesting, 1604 switches::kEnablePepperTesting,
1608 #endif 1605 #endif
1609 #if defined(ENABLE_WEBRTC) 1606 #if defined(ENABLE_WEBRTC)
1610 switches::kDisableWebRtcHWDecoding, 1607 switches::kDisableWebRtcHWDecoding,
1611 switches::kDisableWebRtcHWEncoding, 1608 switches::kDisableWebRtcHWEncoding,
1612 switches::kEnableWebRtcDtls12, 1609 switches::kEnableWebRtcDtls12,
1613 switches::kEnableWebRtcHWH264Encoding, 1610 switches::kEnableWebRtcHWH264Encoding,
1614 switches::kEnableWebRtcStunOrigin, 1611 switches::kEnableWebRtcStunOrigin,
1615 switches::kEnforceWebRtcIPPermissionCheck, 1612 switches::kEnforceWebRtcIPPermissionCheck,
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2832 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2829 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2833 2830
2834 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2831 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2835 // enough information here so that we can determine what the bad message was. 2832 // enough information here so that we can determine what the bad message was.
2836 base::debug::Alias(&error); 2833 base::debug::Alias(&error);
2837 bad_message::ReceivedBadMessage(process.get(), 2834 bad_message::ReceivedBadMessage(process.get(),
2838 bad_message::RPH_MOJO_PROCESS_ERROR); 2835 bad_message::RPH_MOJO_PROCESS_ERROR);
2839 } 2836 }
2840 2837
2841 } // namespace content 2838 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698