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

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

Issue 2616773002: Propagate kForceGpuMemAvailableMb flag to the renderer. (Closed)
Patch Set: fix 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 | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | 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 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 switches::kEnableVp9InMp4, 1746 switches::kEnableVp9InMp4,
1747 switches::kEnableVtune, 1747 switches::kEnableVtune,
1748 switches::kEnableWebFontsInterventionTrigger, 1748 switches::kEnableWebFontsInterventionTrigger,
1749 switches::kEnableWebFontsInterventionV2, 1749 switches::kEnableWebFontsInterventionV2,
1750 switches::kEnableWebGLDraftExtensions, 1750 switches::kEnableWebGLDraftExtensions,
1751 switches::kEnableWebGLImageChromium, 1751 switches::kEnableWebGLImageChromium,
1752 switches::kEnableWebVR, 1752 switches::kEnableWebVR,
1753 switches::kExplicitlyAllowedPorts, 1753 switches::kExplicitlyAllowedPorts,
1754 switches::kForceDeviceScaleFactor, 1754 switches::kForceDeviceScaleFactor,
1755 switches::kForceDisplayList2dCanvas, 1755 switches::kForceDisplayList2dCanvas,
1756 switches::kForceGpuMemAvailableMb,
1756 switches::kEnableCanvas2dDynamicRenderingModeSwitching, 1757 switches::kEnableCanvas2dDynamicRenderingModeSwitching,
1757 switches::kForceOverlayFullscreenVideo, 1758 switches::kForceOverlayFullscreenVideo,
1758 switches::kFullMemoryCrashReport, 1759 switches::kFullMemoryCrashReport,
1759 switches::kInertVisualViewport, 1760 switches::kInertVisualViewport,
1760 switches::kIPCConnectionTimeout, 1761 switches::kIPCConnectionTimeout,
1761 switches::kIsRunningInMash, 1762 switches::kIsRunningInMash,
1762 switches::kJavaScriptFlags, 1763 switches::kJavaScriptFlags,
1763 switches::kLoggingLevel, 1764 switches::kLoggingLevel,
1764 switches::kMainFrameResizesAreOrientationChanges, 1765 switches::kMainFrameResizesAreOrientationChanges,
1765 switches::kMaxUntiledLayerWidth, 1766 switches::kMaxUntiledLayerWidth,
(...skipping 1265 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 | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698