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

Side by Side Diff: media/base/mac/avfoundation_glue.mm

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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 | « media/base/mac/avfoundation_glue.h ('k') | media/base/mac/coremedia_glue.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #import "media/base/mac/avfoundation_glue.h" 5 #import "media/base/mac/avfoundation_glue.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <stddef.h>
8 9
9 #include "base/command_line.h" 10 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
11 #include "base/mac/mac_util.h" 12 #include "base/mac/mac_util.h"
13 #include "base/macros.h"
12 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
13 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
14 #include "media/base/media_switches.h" 16 #include "media/base/media_switches.h"
15 17
16 namespace { 18 namespace {
17 19
18 // Used for logging capture API usage. Classes are a partition. Elements in this 20 // Used for logging capture API usage. Classes are a partition. Elements in this
19 // enum should not be deleted or rearranged; the only permitted operation is to 21 // enum should not be deleted or rearranged; the only permitted operation is to
20 // add new elements before CAPTURE_API_MAX, that must be equal to the last item. 22 // add new elements before CAPTURE_API_MAX, that must be equal to the last item.
21 enum CaptureApi { 23 enum CaptureApi {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 @implementation AVCaptureDeviceInputGlue 249 @implementation AVCaptureDeviceInputGlue
248 250
249 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device 251 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device
250 error:(NSError**)outError { 252 error:(NSError**)outError {
251 return [[AVFoundationGlue::AVFoundationBundle() 253 return [[AVFoundationGlue::AVFoundationBundle()
252 classNamed:@"AVCaptureDeviceInput"] deviceInputWithDevice:device 254 classNamed:@"AVCaptureDeviceInput"] deviceInputWithDevice:device
253 error:outError]; 255 error:outError];
254 } 256 }
255 257
256 @end // @implementation AVCaptureDeviceInputGlue 258 @end // @implementation AVCaptureDeviceInputGlue
OLDNEW
« no previous file with comments | « media/base/mac/avfoundation_glue.h ('k') | media/base/mac/coremedia_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698