OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CONTENT_RENDERER_MEDIA_IMAGE_CAPTURE_FRAME_GRABBER_H_ | 5 #ifndef CONTENT_RENDERER_IMAGE_CAPTURE_IMAGE_CAPTURE_FRAME_GRABBER_H_ |
6 #define CONTENT_RENDERER_MEDIA_IMAGE_CAPTURE_FRAME_GRABBER_H_ | 6 #define CONTENT_RENDERER_IMAGE_CAPTURE_IMAGE_CAPTURE_FRAME_GRABBER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
12 #include "content/child/scoped_web_callbacks.h" | 12 #include "content/child/scoped_web_callbacks.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/renderer/media_stream_video_sink.h" | 14 #include "content/public/renderer/media_stream_video_sink.h" |
15 #include "third_party/WebKit/public/platform/WebImageCaptureFrameGrabber.h" | 15 #include "third_party/WebKit/public/platform/WebImageCaptureFrameGrabber.h" |
16 | 16 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 bool frame_grab_in_progress_; | 50 bool frame_grab_in_progress_; |
51 | 51 |
52 base::ThreadChecker thread_checker_; | 52 base::ThreadChecker thread_checker_; |
53 base::WeakPtrFactory<ImageCaptureFrameGrabber> weak_factory_; | 53 base::WeakPtrFactory<ImageCaptureFrameGrabber> weak_factory_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(ImageCaptureFrameGrabber); | 55 DISALLOW_COPY_AND_ASSIGN(ImageCaptureFrameGrabber); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace content | 58 } // namespace content |
59 | 59 |
60 #endif // CONTENT_RENDERER_MEDIA_IMAGE_CAPTURE_FRAME_GRABBER_H_ | 60 #endif // CONTENT_RENDERER_IMAGE_CAPTURE_IMAGE_CAPTURE_FRAME_GRABBER_H_ |
OLD | NEW |