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

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

Issue 2413063002: content/blimp: Set up hooks for enabling LTHRemote in the renderer. (Closed)
Patch Set: Addressed comments Created 4 years, 2 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
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 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 switches::kTouchEvents, 1752 switches::kTouchEvents,
1753 switches::kTouchTextSelectionStrategy, 1753 switches::kTouchTextSelectionStrategy,
1754 switches::kTraceConfigFile, 1754 switches::kTraceConfigFile,
1755 switches::kTraceToConsole, 1755 switches::kTraceToConsole,
1756 switches::kUseCrossProcessFramesForGuests, 1756 switches::kUseCrossProcessFramesForGuests,
1757 switches::kUseFakeUIForMediaStream, 1757 switches::kUseFakeUIForMediaStream,
1758 // This flag needs to be propagated to the renderer process for 1758 // This flag needs to be propagated to the renderer process for
1759 // --in-process-webgl. 1759 // --in-process-webgl.
1760 switches::kUseGL, 1760 switches::kUseGL,
1761 switches::kUseGpuInTests, 1761 switches::kUseGpuInTests,
1762 switches::kUseLayerTreeHostRemote,
1762 switches::kUseMobileUserAgent, 1763 switches::kUseMobileUserAgent,
1763 switches::kUseRemoteCompositing, 1764 switches::kUseRemoteCompositing,
1764 switches::kV, 1765 switches::kV,
1765 switches::kV8CacheStrategiesForCacheStorage, 1766 switches::kV8CacheStrategiesForCacheStorage,
1766 switches::kVideoThreads, 1767 switches::kVideoThreads,
1767 switches::kVideoUnderflowThresholdMs, 1768 switches::kVideoUnderflowThresholdMs,
1768 switches::kVModule, 1769 switches::kVModule,
1769 // Please keep these in alphabetical order. Compositor switches here should 1770 // Please keep these in alphabetical order. Compositor switches here should
1770 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1771 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1771 cc::switches::kDisableCachedPictureRaster, 1772 cc::switches::kDisableCachedPictureRaster,
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
3029 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3030 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3030 3031
3031 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 3032 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
3032 // enough information here so that we can determine what the bad message was. 3033 // enough information here so that we can determine what the bad message was.
3033 base::debug::Alias(&error); 3034 base::debug::Alias(&error);
3034 bad_message::ReceivedBadMessage(render_process_id, 3035 bad_message::ReceivedBadMessage(render_process_id,
3035 bad_message::RPH_MOJO_PROCESS_ERROR); 3036 bad_message::RPH_MOJO_PROCESS_ERROR);
3036 } 3037 }
3037 3038
3038 } // namespace content 3039 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698