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

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

Issue 834233002: Removing --enable-speech-recognition flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/child/runtime_features.cc » ('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 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 switches::kDisableWebRtcHWDecoding, 1322 switches::kDisableWebRtcHWDecoding,
1323 switches::kDisableWebRtcHWEncoding, 1323 switches::kDisableWebRtcHWEncoding,
1324 switches::kEnableWebRtcHWH264Encoding, 1324 switches::kEnableWebRtcHWH264Encoding,
1325 switches::kWebRtcMaxCaptureFramerate, 1325 switches::kWebRtcMaxCaptureFramerate,
1326 #endif 1326 #endif
1327 switches::kEnableLowEndDeviceMode, 1327 switches::kEnableLowEndDeviceMode,
1328 switches::kDisableLowEndDeviceMode, 1328 switches::kDisableLowEndDeviceMode,
1329 #if defined(OS_ANDROID) 1329 #if defined(OS_ANDROID)
1330 switches::kDisableGestureRequirementForMediaPlayback, 1330 switches::kDisableGestureRequirementForMediaPlayback,
1331 switches::kDisableWebRTC, 1331 switches::kDisableWebRTC,
1332 switches::kEnableSpeechRecognition,
1333 switches::kMediaDrmEnableNonCompositing, 1332 switches::kMediaDrmEnableNonCompositing,
1334 switches::kNetworkCountryIso, 1333 switches::kNetworkCountryIso,
1335 switches::kDisableWebAudio, 1334 switches::kDisableWebAudio,
1336 switches::kRendererWaitForJavaDebugger, 1335 switches::kRendererWaitForJavaDebugger,
1337 #endif 1336 #endif
1338 #if defined(OS_MACOSX) 1337 #if defined(OS_MACOSX)
1339 // Allow this to be set when invoking the browser and relayed along. 1338 // Allow this to be set when invoking the browser and relayed along.
1340 switches::kEnableSandboxLogging, 1339 switches::kEnableSandboxLogging,
1341 #endif 1340 #endif
1342 #if defined(OS_MACOSX) && !defined(OS_IOS) 1341 #if defined(OS_MACOSX) && !defined(OS_IOS)
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
2359 2358
2360 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2359 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2361 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2360 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2362 DCHECK_GT(worker_ref_count_, 0); 2361 DCHECK_GT(worker_ref_count_, 0);
2363 --worker_ref_count_; 2362 --worker_ref_count_;
2364 if (worker_ref_count_ == 0) 2363 if (worker_ref_count_ == 0)
2365 Cleanup(); 2364 Cleanup();
2366 } 2365 }
2367 2366
2368 } // namespace content 2367 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698