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

Side by Side Diff: media/capture/video/fake_video_capture_device.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 4 years, 12 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 // Implementation of a fake VideoCaptureDevice class. Used for testing other 5 // Implementation of a fake VideoCaptureDevice class. Used for testing other
6 // video capture classes when no real hardware is available. 6 // video capture classes when no real hardware is available.
7 7
8 #ifndef MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_ 8 #ifndef MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_
9 #define MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_ 9 #define MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_
10 10
11 #include <stdint.h>
12
11 #include <string> 13 #include <string>
12 14
13 #include "base/atomicops.h" 15 #include "base/atomicops.h"
14 #include "base/macros.h" 16 #include "base/macros.h"
15 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
17 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
18 #include "base/threading/thread_checker.h" 20 #include "base/threading/thread_checker.h"
19 #include "base/time/time.h" 21 #include "base/time/time.h"
20 #include "media/capture/video/video_capture_device.h" 22 #include "media/capture/video/video_capture_device.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // FakeVideoCaptureDevice post tasks to itself for frame construction and 75 // FakeVideoCaptureDevice post tasks to itself for frame construction and
74 // needs to deal with asynchronous StopAndDeallocate(). 76 // needs to deal with asynchronous StopAndDeallocate().
75 base::WeakPtrFactory<FakeVideoCaptureDevice> weak_factory_; 77 base::WeakPtrFactory<FakeVideoCaptureDevice> weak_factory_;
76 78
77 DISALLOW_COPY_AND_ASSIGN(FakeVideoCaptureDevice); 79 DISALLOW_COPY_AND_ASSIGN(FakeVideoCaptureDevice);
78 }; 80 };
79 81
80 } // namespace media 82 } // namespace media
81 83
82 #endif // MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_ 84 #endif // MEDIA_VIDEO_CAPTURE_FAKE_VIDEO_CAPTURE_DEVICE_H_
OLDNEW
« no previous file with comments | « media/capture/video/android/video_capture_device_android.cc ('k') | media/capture/video/fake_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698