| 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 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "content/common/media/video_capture.h" | 17 #include "content/common/media/video_capture.h" |
| 18 #include "media/video/capture/video_capture_types.h" | 18 #include "media/base/video_capture_types.h" |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 class PepperMediaDeviceManager; | 23 class PepperMediaDeviceManager; |
| 24 class PepperVideoCaptureHost; | 24 class PepperVideoCaptureHost; |
| 25 | 25 |
| 26 // This object must only be used on the thread it's constructed on. | 26 // This object must only be used on the thread it's constructed on. |
| 27 class PepperPlatformVideoCapture { | 27 class PepperPlatformVideoCapture { |
| 28 public: | 28 public: |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 base::ThreadChecker thread_checker_; | 67 base::ThreadChecker thread_checker_; |
| 68 | 68 |
| 69 base::WeakPtrFactory<PepperPlatformVideoCapture> weak_factory_; | 69 base::WeakPtrFactory<PepperPlatformVideoCapture> weak_factory_; |
| 70 | 70 |
| 71 DISALLOW_COPY_AND_ASSIGN(PepperPlatformVideoCapture); | 71 DISALLOW_COPY_AND_ASSIGN(PepperPlatformVideoCapture); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace content | 74 } // namespace content |
| 75 | 75 |
| 76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ | 76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_VIDEO_CAPTURE_H_ |
| OLD | NEW |