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

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

Issue 1991953002: Implement a runtime headless mode for Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years 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 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 switches::kEnableWebFontsInterventionV2, 1710 switches::kEnableWebFontsInterventionV2,
1711 switches::kEnableWebGLDraftExtensions, 1711 switches::kEnableWebGLDraftExtensions,
1712 switches::kEnableWebGLImageChromium, 1712 switches::kEnableWebGLImageChromium,
1713 switches::kEnableWebVR, 1713 switches::kEnableWebVR,
1714 switches::kExplicitlyAllowedPorts, 1714 switches::kExplicitlyAllowedPorts,
1715 switches::kForceDeviceScaleFactor, 1715 switches::kForceDeviceScaleFactor,
1716 switches::kForceDisplayList2dCanvas, 1716 switches::kForceDisplayList2dCanvas,
1717 switches::kEnableCanvas2dDynamicRenderingModeSwitching, 1717 switches::kEnableCanvas2dDynamicRenderingModeSwitching,
1718 switches::kForceOverlayFullscreenVideo, 1718 switches::kForceOverlayFullscreenVideo,
1719 switches::kFullMemoryCrashReport, 1719 switches::kFullMemoryCrashReport,
1720 switches::kHeadless,
1720 switches::kInertVisualViewport, 1721 switches::kInertVisualViewport,
1721 switches::kIPCConnectionTimeout, 1722 switches::kIPCConnectionTimeout,
1722 switches::kIsRunningInMash, 1723 switches::kIsRunningInMash,
1723 switches::kJavaScriptFlags, 1724 switches::kJavaScriptFlags,
1724 switches::kLoggingLevel, 1725 switches::kLoggingLevel,
1725 switches::kMainFrameResizesAreOrientationChanges, 1726 switches::kMainFrameResizesAreOrientationChanges,
1726 switches::kMaxUntiledLayerWidth, 1727 switches::kMaxUntiledLayerWidth,
1727 switches::kMaxUntiledLayerHeight, 1728 switches::kMaxUntiledLayerHeight,
1728 switches::kMemoryMetrics, 1729 switches::kMemoryMetrics,
1729 switches::kMojoLocalStorage, 1730 switches::kMojoLocalStorage,
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2999 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3000 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3000 3001
3001 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 3002 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
3002 // enough information here so that we can determine what the bad message was. 3003 // enough information here so that we can determine what the bad message was.
3003 base::debug::Alias(&error); 3004 base::debug::Alias(&error);
3004 bad_message::ReceivedBadMessage(render_process_id, 3005 bad_message::ReceivedBadMessage(render_process_id,
3005 bad_message::RPH_MOJO_PROCESS_ERROR); 3006 bad_message::RPH_MOJO_PROCESS_ERROR);
3006 } 3007 }
3007 3008
3008 } // namespace content 3009 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698