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

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: REBASE 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') | 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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 // Propagate the following switches to the renderer command line (along 1352 // Propagate the following switches to the renderer command line (along
1353 // with any associated values) if present in the browser command line. 1353 // with any associated values) if present in the browser command line.
1354 static const char* const kSwitchNames[] = { 1354 static const char* const kSwitchNames[] = {
1355 switches::kAgcStartupMinVolume, 1355 switches::kAgcStartupMinVolume,
1356 switches::kAecRefinedAdaptiveFilter, 1356 switches::kAecRefinedAdaptiveFilter,
1357 switches::kAllowLoopbackInPeerConnection, 1357 switches::kAllowLoopbackInPeerConnection,
1358 switches::kAndroidFontsPath, 1358 switches::kAndroidFontsPath,
1359 switches::kAudioBufferSize, 1359 switches::kAudioBufferSize,
1360 switches::kBlinkPlatformLogChannels, 1360 switches::kBlinkPlatformLogChannels,
1361 switches::kBlinkSettings, 1361 switches::kBlinkSettings,
1362 switches::kCastEncoderUtilHeuristic,
1362 switches::kDefaultTileWidth, 1363 switches::kDefaultTileWidth,
1363 switches::kDefaultTileHeight, 1364 switches::kDefaultTileHeight,
1364 switches::kDisable2dCanvasImageChromium, 1365 switches::kDisable2dCanvasImageChromium,
1365 switches::kDisable3DAPIs, 1366 switches::kDisable3DAPIs,
1366 switches::kDisableAcceleratedJpegDecoding, 1367 switches::kDisableAcceleratedJpegDecoding,
1367 switches::kDisableAcceleratedVideoDecode, 1368 switches::kDisableAcceleratedVideoDecode,
1368 switches::kDisableBlinkFeatures, 1369 switches::kDisableBlinkFeatures,
1369 switches::kDisableBreakpad, 1370 switches::kDisableBreakpad,
1370 switches::kDisablePreferCompositingToLCDText, 1371 switches::kDisablePreferCompositingToLCDText,
1371 switches::kDisableDatabases, 1372 switches::kDisableDatabases,
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
2824 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2825 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2825 2826
2826 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2827 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2827 // enough information here so that we can determine what the bad message was. 2828 // enough information here so that we can determine what the bad message was.
2828 base::debug::Alias(&error); 2829 base::debug::Alias(&error);
2829 bad_message::ReceivedBadMessage(process.get(), 2830 bad_message::ReceivedBadMessage(process.get(),
2830 bad_message::RPH_MOJO_PROCESS_ERROR); 2831 bad_message::RPH_MOJO_PROCESS_ERROR);
2831 } 2832 }
2832 2833
2833 } // namespace content 2834 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698