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

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

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/keyboard_event_counter.h ('k') | media/base/mac/avfoundation_glue.mm » ('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 // AVFoundation API is only introduced in Mac OS X > 10.6, and there is only one 5 // AVFoundation API is only introduced in Mac OS X > 10.6, and there is only one
6 // build of Chromium, so the (potential) linking with AVFoundation has to happen 6 // build of Chromium, so the (potential) linking with AVFoundation has to happen
7 // in runtime. For this to be clean, an AVFoundationGlue class is defined to try 7 // in runtime. For this to be clean, an AVFoundationGlue class is defined to try
8 // and load these AVFoundation system libraries. If it succeeds, subsequent 8 // and load these AVFoundation system libraries. If it succeeds, subsequent
9 // clients can use AVFoundation via the rest of the classes declared in this 9 // clients can use AVFoundation via the rest of the classes declared in this
10 // file. 10 // file.
11 11
12 #ifndef MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_ 12 #ifndef MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_
13 #define MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_ 13 #define MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_
14 14
15 #if defined(__OBJC__) 15 #if defined(__OBJC__)
16 #import <Foundation/Foundation.h> 16 #import <Foundation/Foundation.h>
17 #endif // defined(__OBJC__) 17 #endif // defined(__OBJC__)
18 18
19 #include <stdint.h>
20
19 #include "base/macros.h" 21 #include "base/macros.h"
20 #include "media/base/mac/coremedia_glue.h" 22 #include "media/base/mac/coremedia_glue.h"
21 #include "media/base/media_export.h" 23 #include "media/base/media_export.h"
22 24
23 class MEDIA_EXPORT AVFoundationGlue { 25 class MEDIA_EXPORT AVFoundationGlue {
24 public: 26 public:
25 // Must be called on the UI thread prior to attempting to use any other 27 // Must be called on the UI thread prior to attempting to use any other
26 // AVFoundation methods. 28 // AVFoundation methods.
27 static void InitializeAVFoundation(); 29 static void InitializeAVFoundation();
28 30
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 @interface AVCaptureDeviceInputGlue : NSObject 175 @interface AVCaptureDeviceInputGlue : NSObject
174 176
175 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device 177 + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device
176 error:(NSError**)outError; 178 error:(NSError**)outError;
177 179
178 @end 180 @end
179 181
180 #endif // defined(__OBJC__) 182 #endif // defined(__OBJC__)
181 183
182 #endif // MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_ 184 #endif // MEDIA_BASE_MAC_AVFOUNDATION_GLUE_H_
OLDNEW
« no previous file with comments | « media/base/keyboard_event_counter.h ('k') | media/base/mac/avfoundation_glue.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698