OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ | 5 #ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ |
6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ | 6 #define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/task.h" | 10 #include "base/task.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const VideoCaptureParams& device_info); | 87 const VideoCaptureParams& device_info); |
88 | 88 |
89 // Only accessed from main thread. | 89 // Only accessed from main thread. |
90 VideoCapture::EventHandler* proxied_; | 90 VideoCapture::EventHandler* proxied_; |
91 VideoCaptureState state_; | 91 VideoCaptureState state_; |
92 | 92 |
93 scoped_refptr<base::MessageLoopProxy> main_message_loop_; | 93 scoped_refptr<base::MessageLoopProxy> main_message_loop_; |
94 }; | 94 }; |
95 | 95 |
96 } // namespace media | 96 } // namespace media |
97 DISABLE_RUNNABLE_METHOD_REFCOUNT(media::VideoCaptureHandlerProxy); | |
98 | 97 |
99 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ | 98 #endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_PROXY_H_ |
OLD | NEW |