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 #import "media/capture/video/mac/video_capture_device_qtkit_mac.h" | 5 #import "media/capture/video/mac/video_capture_device_qtkit_mac.h" |
6 | 6 |
7 #import <QTKit/QTKit.h> | 7 #import <QTKit/QTKit.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include "base/debug/crash_logging.h" | 10 #include "base/debug/crash_logging.h" |
10 #include "base/location.h" | 11 #include "base/location.h" |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "media/base/timestamp_constants.h" | 13 #include "media/base/timestamp_constants.h" |
13 #include "media/base/video_capture_types.h" | 14 #include "media/base/video_capture_types.h" |
14 #include "media/capture/video/mac/video_capture_device_mac.h" | 15 #include "media/capture/video/mac/video_capture_device_mac.h" |
15 #include "media/capture/video/video_capture_device.h" | 16 #include "media/capture/video/video_capture_device.h" |
16 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
17 | 18 |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 | 363 |
363 - (void)sendLogString:(NSString*)message { | 364 - (void)sendLogString:(NSString*)message { |
364 DVLOG(1) << [message UTF8String]; | 365 DVLOG(1) << [message UTF8String]; |
365 [lock_ lock]; | 366 [lock_ lock]; |
366 if (frameReceiver_) | 367 if (frameReceiver_) |
367 frameReceiver_->LogMessage([message UTF8String]); | 368 frameReceiver_->LogMessage([message UTF8String]); |
368 [lock_ unlock]; | 369 [lock_ unlock]; |
369 } | 370 } |
370 | 371 |
371 @end | 372 @end |
OLD | NEW |