| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |