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

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

Issue 2624153002: Propagate the --disable-background-timer-throttling flag to the renderer (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | 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 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 switches::kAllowLoopbackInPeerConnection, 1662 switches::kAllowLoopbackInPeerConnection,
1663 switches::kAndroidFontsPath, 1663 switches::kAndroidFontsPath,
1664 switches::kAudioBufferSize, 1664 switches::kAudioBufferSize,
1665 switches::kBlinkSettings, 1665 switches::kBlinkSettings,
1666 switches::kDefaultTileWidth, 1666 switches::kDefaultTileWidth,
1667 switches::kDefaultTileHeight, 1667 switches::kDefaultTileHeight,
1668 switches::kDisable2dCanvasImageChromium, 1668 switches::kDisable2dCanvasImageChromium,
1669 switches::kDisable3DAPIs, 1669 switches::kDisable3DAPIs,
1670 switches::kDisableAcceleratedJpegDecoding, 1670 switches::kDisableAcceleratedJpegDecoding,
1671 switches::kDisableAcceleratedVideoDecode, 1671 switches::kDisableAcceleratedVideoDecode,
1672 switches::kDisableBackgroundTimerThrottling,
1672 switches::kDisableBlinkFeatures, 1673 switches::kDisableBlinkFeatures,
1673 switches::kDisableBreakpad, 1674 switches::kDisableBreakpad,
1674 switches::kDisablePreferCompositingToLCDText, 1675 switches::kDisablePreferCompositingToLCDText,
1675 switches::kDisableDatabases, 1676 switches::kDisableDatabases,
1676 switches::kDisableDisplayList2dCanvas, 1677 switches::kDisableDisplayList2dCanvas,
1677 switches::kDisableDistanceFieldText, 1678 switches::kDisableDistanceFieldText,
1678 switches::kDisableFileSystem, 1679 switches::kDisableFileSystem,
1679 switches::kDisableGestureRequirementForMediaPlayback, 1680 switches::kDisableGestureRequirementForMediaPlayback,
1680 switches::kDisableGestureRequirementForPresentation, 1681 switches::kDisableGestureRequirementForPresentation,
1681 switches::kDisableGpuCompositing, 1682 switches::kDisableGpuCompositing,
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3031 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3032 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3032 3033
3033 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3034 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3034 // Capture the error message in a crash key value. 3035 // Capture the error message in a crash key value.
3035 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3036 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3036 bad_message::ReceivedBadMessage(render_process_id, 3037 bad_message::ReceivedBadMessage(render_process_id,
3037 bad_message::RPH_MOJO_PROCESS_ERROR); 3038 bad_message::RPH_MOJO_PROCESS_ERROR);
3038 } 3039 }
3039 3040
3040 } // namespace content 3041 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698