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

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

Issue 180783019: [Android] Define a baseline seccomp-bpf sandbox policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More moves, nits Created 6 years, 8 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 | content/common/sandbox_linux/OWNERS » ('j') | content/common/sandbox_linux/OWNERS » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 switches::kDisableTouchDragDrop, 1060 switches::kDisableTouchDragDrop,
1061 switches::kDisableTouchEditing, 1061 switches::kDisableTouchEditing,
1062 switches::kDisableUniversalAcceleratedOverflowScroll, 1062 switches::kDisableUniversalAcceleratedOverflowScroll,
1063 switches::kDisableUnprefixedMediaSource, 1063 switches::kDisableUnprefixedMediaSource,
1064 switches::kDisableWebKitMediaSource, 1064 switches::kDisableWebKitMediaSource,
1065 switches::kDomAutomationController, 1065 switches::kDomAutomationController,
1066 switches::kEnableAcceleratedFixedRootBackground, 1066 switches::kEnableAcceleratedFixedRootBackground,
1067 switches::kEnableAcceleratedOverflowScroll, 1067 switches::kEnableAcceleratedOverflowScroll,
1068 switches::kEnableAccessibilityLogging, 1068 switches::kEnableAccessibilityLogging,
1069 switches::kEnableADTSStreamParser, 1069 switches::kEnableADTSStreamParser,
1070 switches::kEnableAndroidSeccompFilterSandbox,
1070 switches::kEnableBeginFrameScheduling, 1071 switches::kEnableBeginFrameScheduling,
1071 switches::kEnableBleedingEdgeRenderingFastPaths, 1072 switches::kEnableBleedingEdgeRenderingFastPaths,
1072 switches::kEnableBrowserPluginForAllViewTypes, 1073 switches::kEnableBrowserPluginForAllViewTypes,
1073 switches::kEnableCompositingForFixedPosition, 1074 switches::kEnableCompositingForFixedPosition,
1074 switches::kEnableCompositingForTransition, 1075 switches::kEnableCompositingForTransition,
1075 switches::kEnableDeferredImageDecoding, 1076 switches::kEnableDeferredImageDecoding,
1076 switches::kEnableEncryptedMedia, 1077 switches::kEnableEncryptedMedia,
1077 switches::kEnableExperimentalCanvasFeatures, 1078 switches::kEnableExperimentalCanvasFeatures,
1078 switches::kEnableExperimentalWebPlatformFeatures, 1079 switches::kEnableExperimentalWebPlatformFeatures,
1079 switches::kEnableFastTextAutosizing, 1080 switches::kEnableFastTextAutosizing,
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
2151 2152
2152 void RenderProcessHostImpl::SetWebUIHandle( 2153 void RenderProcessHostImpl::SetWebUIHandle(
2153 int32 view_routing_id, 2154 int32 view_routing_id,
2154 mojo::ScopedMessagePipeHandle handle) { 2155 mojo::ScopedMessagePipeHandle handle) {
2155 if (!render_process_host_mojo_) 2156 if (!render_process_host_mojo_)
2156 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); 2157 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this));
2157 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); 2158 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass());
2158 } 2159 }
2159 2160
2160 } // namespace content 2161 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/sandbox_linux/OWNERS » ('j') | content/common/sandbox_linux/OWNERS » ('J')

Powered by Google App Engine
This is Rietveld 408576698