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

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

Issue 208763003: Enable WebAudio by default for Android/x86. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
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 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 switches::kEnableWebRtcTcpServerSocket, 1200 switches::kEnableWebRtcTcpServerSocket,
1201 #endif 1201 #endif
1202 #if defined(OS_ANDROID) 1202 #if defined(OS_ANDROID)
1203 switches::kDisableGestureRequirementForMediaPlayback, 1203 switches::kDisableGestureRequirementForMediaPlayback,
1204 switches::kDisableLowEndDeviceMode, 1204 switches::kDisableLowEndDeviceMode,
1205 switches::kDisableWebRTC, 1205 switches::kDisableWebRTC,
1206 switches::kEnableLowEndDeviceMode, 1206 switches::kEnableLowEndDeviceMode,
1207 switches::kEnableSpeechRecognition, 1207 switches::kEnableSpeechRecognition,
1208 switches::kMediaDrmEnableNonCompositing, 1208 switches::kMediaDrmEnableNonCompositing,
1209 switches::kNetworkCountryIso, 1209 switches::kNetworkCountryIso,
1210 #endif
1211 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
1212 switches::kEnableWebAudio,
1213 #else
1214 // Need to be able to disable webaudio on other platforms where it
1215 // is enabled by default.
1216 switches::kDisableWebAudio, 1210 switches::kDisableWebAudio,
1217 #endif 1211 #endif
1218 #if defined(OS_MACOSX) 1212 #if defined(OS_MACOSX)
1219 // Allow this to be set when invoking the browser and relayed along. 1213 // Allow this to be set when invoking the browser and relayed along.
1220 switches::kEnableSandboxLogging, 1214 switches::kEnableSandboxLogging,
1221 #endif 1215 #endif
1222 #if defined(OS_POSIX) 1216 #if defined(OS_POSIX)
1223 switches::kChildCleanExit, 1217 switches::kChildCleanExit,
1224 #endif 1218 #endif
1225 #if defined(OS_WIN) 1219 #if defined(OS_WIN)
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
2172 child_process_launcher_->GetHandle(); 2166 child_process_launcher_->GetHandle();
2173 base::PlatformFile client_file = 2167 base::PlatformFile client_file =
2174 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle()); 2168 PlatformFileFromScopedPlatformHandle(channel_pair.PassClientHandle());
2175 Send(new MojoMsg_ChannelCreated( 2169 Send(new MojoMsg_ChannelCreated(
2176 IPC::GetFileHandleForProcess(client_file, process_handle, true))); 2170 IPC::GetFileHandleForProcess(client_file, process_handle, true)));
2177 } 2171 }
2178 } 2172 }
2179 #endif 2173 #endif
2180 2174
2181 } // namespace content 2175 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698