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

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: Rebase 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 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 switches::kTouchEvents, 1740 switches::kTouchEvents,
1741 switches::kTouchTextSelectionStrategy, 1741 switches::kTouchTextSelectionStrategy,
1742 switches::kTraceConfigFile, 1742 switches::kTraceConfigFile,
1743 switches::kTraceToConsole, 1743 switches::kTraceToConsole,
1744 switches::kUseCrossProcessFramesForGuests, 1744 switches::kUseCrossProcessFramesForGuests,
1745 switches::kUseFakeUIForMediaStream, 1745 switches::kUseFakeUIForMediaStream,
1746 // This flag needs to be propagated to the renderer process for 1746 // This flag needs to be propagated to the renderer process for
1747 // --in-process-webgl. 1747 // --in-process-webgl.
1748 switches::kUseGL, 1748 switches::kUseGL,
1749 switches::kUseGpuInTests, 1749 switches::kUseGpuInTests,
1750 switches::kUseLayerTreeHostRemote,
1750 switches::kUseMobileUserAgent, 1751 switches::kUseMobileUserAgent,
1751 switches::kUseRemoteCompositing, 1752 switches::kUseRemoteCompositing,
1752 switches::kV, 1753 switches::kV,
1753 switches::kV8CacheStrategiesForCacheStorage, 1754 switches::kV8CacheStrategiesForCacheStorage,
1754 switches::kVideoThreads, 1755 switches::kVideoThreads,
1755 switches::kVideoUnderflowThresholdMs, 1756 switches::kVideoUnderflowThresholdMs,
1756 switches::kVModule, 1757 switches::kVModule,
1757 // Please keep these in alphabetical order. Compositor switches here should 1758 // Please keep these in alphabetical order. Compositor switches here should
1758 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1759 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1759 cc::switches::kDisableCachedPictureRaster, 1760 cc::switches::kDisableCachedPictureRaster,
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
3002 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3003 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3003 3004
3004 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 3005 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
3005 // enough information here so that we can determine what the bad message was. 3006 // enough information here so that we can determine what the bad message was.
3006 base::debug::Alias(&error); 3007 base::debug::Alias(&error);
3007 bad_message::ReceivedBadMessage(render_process_id, 3008 bad_message::ReceivedBadMessage(render_process_id,
3008 bad_message::RPH_MOJO_PROCESS_ERROR); 3009 bad_message::RPH_MOJO_PROCESS_ERROR);
3009 } 3010 }
3010 3011
3011 } // namespace content 3012 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698