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

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: Another GYP fix Created 4 years, 5 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 26 matching lines...) Expand all
37 #include "base/strings/stringprintf.h" 37 #include "base/strings/stringprintf.h"
38 #include "base/supports_user_data.h" 38 #include "base/supports_user_data.h"
39 #include "base/sys_info.h" 39 #include "base/sys_info.h"
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 "components/scheduler/common/scheduler_switches.h"
48 #include "components/tracing/common/tracing_switches.h" 47 #include "components/tracing/common/tracing_switches.h"
49 #include "components/webmessaging/broadcast_channel_provider.h" 48 #include "components/webmessaging/broadcast_channel_provider.h"
50 #include "content/browser/appcache/appcache_dispatcher_host.h" 49 #include "content/browser/appcache/appcache_dispatcher_host.h"
51 #include "content/browser/appcache/chrome_appcache_service.h" 50 #include "content/browser/appcache/chrome_appcache_service.h"
52 #include "content/browser/background_sync/background_sync_service_impl.h" 51 #include "content/browser/background_sync/background_sync_service_impl.h"
53 #include "content/browser/bad_message.h" 52 #include "content/browser/bad_message.h"
54 #include "content/browser/blob_storage/blob_dispatcher_host.h" 53 #include "content/browser/blob_storage/blob_dispatcher_host.h"
55 #include "content/browser/blob_storage/chrome_blob_storage_context.h" 54 #include "content/browser/blob_storage/chrome_blob_storage_context.h"
56 #include "content/browser/browser_child_process_host_impl.h" 55 #include "content/browser/browser_child_process_host_impl.h"
57 #include "content/browser/browser_main.h" 56 #include "content/browser/browser_main.h"
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 switches::kAudioBufferSize, 1381 switches::kAudioBufferSize,
1383 switches::kBlinkPlatformLogChannels, 1382 switches::kBlinkPlatformLogChannels,
1384 switches::kBlinkSettings, 1383 switches::kBlinkSettings,
1385 switches::kCastEncoderUtilHeuristic, 1384 switches::kCastEncoderUtilHeuristic,
1386 switches::kDefaultTileWidth, 1385 switches::kDefaultTileWidth,
1387 switches::kDefaultTileHeight, 1386 switches::kDefaultTileHeight,
1388 switches::kDisable2dCanvasImageChromium, 1387 switches::kDisable2dCanvasImageChromium,
1389 switches::kDisable3DAPIs, 1388 switches::kDisable3DAPIs,
1390 switches::kDisableAcceleratedJpegDecoding, 1389 switches::kDisableAcceleratedJpegDecoding,
1391 switches::kDisableAcceleratedVideoDecode, 1390 switches::kDisableAcceleratedVideoDecode,
1391 switches::kDisableBackgroundTimerThrottling,
1392 switches::kDisableBlinkFeatures, 1392 switches::kDisableBlinkFeatures,
1393 switches::kDisableBreakpad, 1393 switches::kDisableBreakpad,
1394 switches::kDisablePreferCompositingToLCDText, 1394 switches::kDisablePreferCompositingToLCDText,
1395 switches::kDisableDatabases, 1395 switches::kDisableDatabases,
1396 switches::kDisableDisplayList2dCanvas, 1396 switches::kDisableDisplayList2dCanvas,
1397 switches::kDisableDistanceFieldText, 1397 switches::kDisableDistanceFieldText,
1398 switches::kDisableFileSystem, 1398 switches::kDisableFileSystem,
1399 switches::kDisableGestureRequirementForMediaPlayback, 1399 switches::kDisableGestureRequirementForMediaPlayback,
1400 switches::kDisableGestureRequirementForPresentation, 1400 switches::kDisableGestureRequirementForPresentation,
1401 switches::kDisableGpuCompositing, 1401 switches::kDisableGpuCompositing,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 cc::switches::kShowFPSCounter, 1528 cc::switches::kShowFPSCounter,
1529 cc::switches::kShowLayerAnimationBounds, 1529 cc::switches::kShowLayerAnimationBounds,
1530 cc::switches::kShowPropertyChangedRects, 1530 cc::switches::kShowPropertyChangedRects,
1531 cc::switches::kShowReplicaScreenSpaceRects, 1531 cc::switches::kShowReplicaScreenSpaceRects,
1532 cc::switches::kShowScreenSpaceRects, 1532 cc::switches::kShowScreenSpaceRects,
1533 cc::switches::kShowSurfaceDamageRects, 1533 cc::switches::kShowSurfaceDamageRects,
1534 cc::switches::kSlowDownRasterScaleFactor, 1534 cc::switches::kSlowDownRasterScaleFactor,
1535 cc::switches::kTopControlsHideThreshold, 1535 cc::switches::kTopControlsHideThreshold,
1536 cc::switches::kTopControlsShowThreshold, 1536 cc::switches::kTopControlsShowThreshold,
1537 1537
1538 scheduler::switches::kDisableBackgroundTimerThrottling,
1539
1540 #if defined(ENABLE_PLUGINS) 1538 #if defined(ENABLE_PLUGINS)
1541 switches::kEnablePepperTesting, 1539 switches::kEnablePepperTesting,
1542 #endif 1540 #endif
1543 #if defined(ENABLE_WEBRTC) 1541 #if defined(ENABLE_WEBRTC)
1544 switches::kDisableWebRtcHWDecoding, 1542 switches::kDisableWebRtcHWDecoding,
1545 switches::kDisableWebRtcHWEncoding, 1543 switches::kDisableWebRtcHWEncoding,
1546 switches::kEnableWebRtcDtls12, 1544 switches::kEnableWebRtcDtls12,
1547 switches::kEnableWebRtcHWH264Encoding, 1545 switches::kEnableWebRtcHWH264Encoding,
1548 switches::kEnableWebRtcStunOrigin, 1546 switches::kEnableWebRtcStunOrigin,
1549 switches::kEnforceWebRtcIPPermissionCheck, 1547 switches::kEnforceWebRtcIPPermissionCheck,
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
2768 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2766 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2769 2767
2770 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2768 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2771 // enough information here so that we can determine what the bad message was. 2769 // enough information here so that we can determine what the bad message was.
2772 base::debug::Alias(&error); 2770 base::debug::Alias(&error);
2773 bad_message::ReceivedBadMessage(process.get(), 2771 bad_message::ReceivedBadMessage(process.get(),
2774 bad_message::RPH_MOJO_PROCESS_ERROR); 2772 bad_message::RPH_MOJO_PROCESS_ERROR);
2775 } 2773 }
2776 2774
2777 } // namespace content 2775 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698