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

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: fix nit 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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1314 cc::switches::kStrictLayerPropertyChangeChecking, 1314 cc::switches::kStrictLayerPropertyChangeChecking,
1315 cc::switches::kTopControlsHideThreshold, 1315 cc::switches::kTopControlsHideThreshold,
1316 cc::switches::kTopControlsShowThreshold, 1316 cc::switches::kTopControlsShowThreshold,
1317 #if defined(ENABLE_PLUGINS) 1317 #if defined(ENABLE_PLUGINS)
1318 switches::kEnablePepperTesting, 1318 switches::kEnablePepperTesting,
1319 switches::kEnablePluginPowerSaver, 1319 switches::kEnablePluginPowerSaver,
1320 #endif 1320 #endif
1321 #if defined(ENABLE_WEBRTC) 1321 #if defined(ENABLE_WEBRTC)
1322 switches::kDisableWebRtcHWDecoding, 1322 switches::kDisableWebRtcHWDecoding,
1323 switches::kDisableWebRtcHWEncoding, 1323 switches::kDisableWebRtcHWEncoding,
1324 switches::kEnableWebRtcHWVp8Encoding,
1325 switches::kEnableWebRtcHWH264Encoding, 1324 switches::kEnableWebRtcHWH264Encoding,
1326 switches::kWebRtcMaxCaptureFramerate, 1325 switches::kWebRtcMaxCaptureFramerate,
1327 #endif 1326 #endif
1328 switches::kEnableLowEndDeviceMode, 1327 switches::kEnableLowEndDeviceMode,
1329 switches::kDisableLowEndDeviceMode, 1328 switches::kDisableLowEndDeviceMode,
1330 #if defined(OS_ANDROID) 1329 #if defined(OS_ANDROID)
1331 switches::kDisableGestureRequirementForMediaPlayback, 1330 switches::kDisableGestureRequirementForMediaPlayback,
1332 switches::kDisableWebRTC, 1331 switches::kDisableWebRTC,
1333 switches::kEnableSpeechRecognition, 1332 switches::kEnableSpeechRecognition,
1334 switches::kMediaDrmEnableNonCompositing, 1333 switches::kMediaDrmEnableNonCompositing,
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
2360 2359
2361 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2360 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2362 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2361 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2363 DCHECK_GT(worker_ref_count_, 0); 2362 DCHECK_GT(worker_ref_count_, 0);
2364 --worker_ref_count_; 2363 --worker_ref_count_;
2365 if (worker_ref_count_ == 0) 2364 if (worker_ref_count_ == 0)
2366 Cleanup(); 2365 Cleanup();
2367 } 2366 }
2368 2367
2369 } // namespace content 2368 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/media/v4l2_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698