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

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

Issue 827443003: Add querying supported formats to V4L2 VEA (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
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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 cc::switches::kStrictLayerPropertyChangeChecking, 1304 cc::switches::kStrictLayerPropertyChangeChecking,
1305 cc::switches::kTopControlsHideThreshold, 1305 cc::switches::kTopControlsHideThreshold,
1306 cc::switches::kTopControlsShowThreshold, 1306 cc::switches::kTopControlsShowThreshold,
1307 #if defined(ENABLE_PLUGINS) 1307 #if defined(ENABLE_PLUGINS)
1308 switches::kEnablePepperTesting, 1308 switches::kEnablePepperTesting,
1309 switches::kEnablePluginPowerSaver, 1309 switches::kEnablePluginPowerSaver,
1310 #endif 1310 #endif
1311 #if defined(ENABLE_WEBRTC) 1311 #if defined(ENABLE_WEBRTC)
1312 switches::kDisableWebRtcHWDecoding, 1312 switches::kDisableWebRtcHWDecoding,
1313 switches::kDisableWebRtcHWEncoding, 1313 switches::kDisableWebRtcHWEncoding,
1314 switches::kEnableWebRtcHWVp8Encoding,
1315 switches::kEnableWebRtcHWH264Encoding, 1314 switches::kEnableWebRtcHWH264Encoding,
1316 switches::kWebRtcMaxCaptureFramerate, 1315 switches::kWebRtcMaxCaptureFramerate,
1317 #endif 1316 #endif
1318 switches::kEnableLowEndDeviceMode, 1317 switches::kEnableLowEndDeviceMode,
1319 switches::kDisableLowEndDeviceMode, 1318 switches::kDisableLowEndDeviceMode,
1320 #if defined(OS_ANDROID) 1319 #if defined(OS_ANDROID)
1321 switches::kDisableGestureRequirementForMediaPlayback, 1320 switches::kDisableGestureRequirementForMediaPlayback,
1322 switches::kDisableWebRTC, 1321 switches::kDisableWebRTC,
1323 switches::kEnableSpeechRecognition, 1322 switches::kEnableSpeechRecognition,
1324 switches::kMediaDrmEnableNonCompositing, 1323 switches::kMediaDrmEnableNonCompositing,
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 2349
2351 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2350 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2352 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2351 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2353 DCHECK_GT(worker_ref_count_, 0); 2352 DCHECK_GT(worker_ref_count_, 0);
2354 --worker_ref_count_; 2353 --worker_ref_count_;
2355 if (worker_ref_count_ == 0) 2354 if (worker_ref_count_ == 0)
2356 Cleanup(); 2355 Cleanup();
2357 } 2356 }
2358 2357
2359 } // namespace content 2358 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698