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

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

Issue 197083003: Temporarily disable direct NPAPI requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/public/common/content_switches.h » ('j') | no next file with comments »
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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 // with any associated values) if present in the browser command line. 1022 // with any associated values) if present in the browser command line.
1023 static const char* const kSwitchNames[] = { 1023 static const char* const kSwitchNames[] = {
1024 switches::kAllowLoopbackInPeerConnection, 1024 switches::kAllowLoopbackInPeerConnection,
1025 switches::kAudioBufferSize, 1025 switches::kAudioBufferSize,
1026 switches::kAuditAllHandles, 1026 switches::kAuditAllHandles,
1027 switches::kAuditHandles, 1027 switches::kAuditHandles,
1028 switches::kBlinkPlatformLogChannels, 1028 switches::kBlinkPlatformLogChannels,
1029 switches::kBlockCrossSiteDocuments, 1029 switches::kBlockCrossSiteDocuments,
1030 switches::kDefaultTileWidth, 1030 switches::kDefaultTileWidth,
1031 switches::kDefaultTileHeight, 1031 switches::kDefaultTileHeight,
1032 switches::kDirectNPAPIRequests,
1032 switches::kDisable3DAPIs, 1033 switches::kDisable3DAPIs,
1033 switches::kDisableAcceleratedCompositing, 1034 switches::kDisableAcceleratedCompositing,
1034 switches::kDisableAcceleratedFixedRootBackground, 1035 switches::kDisableAcceleratedFixedRootBackground,
1035 switches::kDisableAcceleratedVideoDecode, 1036 switches::kDisableAcceleratedVideoDecode,
1036 switches::kDisableApplicationCache, 1037 switches::kDisableApplicationCache,
1037 switches::kDisableBreakpad, 1038 switches::kDisableBreakpad,
1038 switches::kDisableCompositingForFixedPosition, 1039 switches::kDisableCompositingForFixedPosition,
1039 switches::kDisableCompositingForTransition, 1040 switches::kDisableCompositingForTransition,
1040 switches::kDisableDatabases, 1041 switches::kDisableDatabases,
1041 switches::kDisableDelegatedRenderer, 1042 switches::kDisableDelegatedRenderer,
1042 switches::kDisableDesktopNotifications, 1043 switches::kDisableDesktopNotifications,
1043 switches::kDisableDirectNPAPIRequests,
1044 switches::kDisableFastTextAutosizing, 1044 switches::kDisableFastTextAutosizing,
1045 switches::kDisableFileSystem, 1045 switches::kDisableFileSystem,
1046 switches::kDisableFiltersOverIPC, 1046 switches::kDisableFiltersOverIPC,
1047 switches::kDisableGpu, 1047 switches::kDisableGpu,
1048 switches::kDisableGpuCompositing, 1048 switches::kDisableGpuCompositing,
1049 switches::kDisableGpuRasterization, 1049 switches::kDisableGpuRasterization,
1050 switches::kDisableGpuVsync, 1050 switches::kDisableGpuVsync,
1051 switches::kDisableLowResTiling, 1051 switches::kDisableLowResTiling,
1052 switches::kDisableHistogramCustomizer, 1052 switches::kDisableHistogramCustomizer,
1053 switches::kDisableImplSidePainting, 1053 switches::kDisableImplSidePainting,
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
2172 child_process_launcher_->GetHandle(); 2172 child_process_launcher_->GetHandle();
2173 base::PlatformFile client_file = 2173 base::PlatformFile client_file =
2174 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); 2174 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle());
2175 Send(new MojoMsg_ChannelCreated( 2175 Send(new MojoMsg_ChannelCreated(
2176 IPC::GetFileHandleForProcess(client_file, process_handle, true))); 2176 IPC::GetFileHandleForProcess(client_file, process_handle, true)));
2177 } 2177 }
2178 } 2178 }
2179 #endif 2179 #endif
2180 2180
2181 } // namespace content 2181 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698