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

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

Issue 2108373002: Add experimental 'backlog' heuristic for measuring encoder utilization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | media/base/media_switches.h » ('j') | media/cast/sender/external_video_encoder.cc » ('J')
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 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 // Propagate the following switches to the renderer command line (along 1349 // Propagate the following switches to the renderer command line (along
1350 // with any associated values) if present in the browser command line. 1350 // with any associated values) if present in the browser command line.
1351 static const char* const kSwitchNames[] = { 1351 static const char* const kSwitchNames[] = {
1352 switches::kAgcStartupMinVolume, 1352 switches::kAgcStartupMinVolume,
1353 switches::kAecRefinedAdaptiveFilter, 1353 switches::kAecRefinedAdaptiveFilter,
1354 switches::kAllowLoopbackInPeerConnection, 1354 switches::kAllowLoopbackInPeerConnection,
1355 switches::kAndroidFontsPath, 1355 switches::kAndroidFontsPath,
1356 switches::kAudioBufferSize, 1356 switches::kAudioBufferSize,
1357 switches::kBlinkPlatformLogChannels, 1357 switches::kBlinkPlatformLogChannels,
1358 switches::kBlinkSettings, 1358 switches::kBlinkSettings,
1359 switches::kCastEncoderUtilHeuristic,
1359 switches::kDefaultTileWidth, 1360 switches::kDefaultTileWidth,
1360 switches::kDefaultTileHeight, 1361 switches::kDefaultTileHeight,
1361 switches::kDisable2dCanvasImageChromium, 1362 switches::kDisable2dCanvasImageChromium,
1362 switches::kDisable3DAPIs, 1363 switches::kDisable3DAPIs,
1363 switches::kDisableAcceleratedJpegDecoding, 1364 switches::kDisableAcceleratedJpegDecoding,
1364 switches::kDisableAcceleratedVideoDecode, 1365 switches::kDisableAcceleratedVideoDecode,
1365 switches::kDisableBlinkFeatures, 1366 switches::kDisableBlinkFeatures,
1366 switches::kDisableBreakpad, 1367 switches::kDisableBreakpad,
1367 switches::kDisablePreferCompositingToLCDText, 1368 switches::kDisablePreferCompositingToLCDText,
1368 switches::kDisableDatabases, 1369 switches::kDisableDatabases,
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2822 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2822 2823
2823 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2824 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2824 // enough information here so that we can determine what the bad message was. 2825 // enough information here so that we can determine what the bad message was.
2825 base::debug::Alias(&error); 2826 base::debug::Alias(&error);
2826 bad_message::ReceivedBadMessage(process.get(), 2827 bad_message::ReceivedBadMessage(process.get(),
2827 bad_message::RPH_MOJO_PROCESS_ERROR); 2828 bad_message::RPH_MOJO_PROCESS_ERROR);
2828 } 2829 }
2829 2830
2830 } // namespace content 2831 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/base/media_switches.h » ('j') | media/cast/sender/external_video_encoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698