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

Side by Side Diff: content/browser/renderer_host/media/in_process_launched_video_capture_device.h

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE_DE VICE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE_DE VICE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE_DE VICE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE_DE VICE_H_
7 7
8 #include "base/single_thread_task_runner.h"
8 #include "content/browser/renderer_host/media/video_capture_provider.h" 9 #include "content/browser/renderer_host/media/video_capture_provider.h"
9 #include "media/capture/video/video_capture_device.h" 10 #include "media/capture/video/video_capture_device.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 class InProcessLaunchedVideoCaptureDevice : public LaunchedVideoCaptureDevice { 14 class InProcessLaunchedVideoCaptureDevice : public LaunchedVideoCaptureDevice {
14 public: 15 public:
15 InProcessLaunchedVideoCaptureDevice( 16 InProcessLaunchedVideoCaptureDevice(
16 std::unique_ptr<media::VideoCaptureDevice> device, 17 std::unique_ptr<media::VideoCaptureDevice> device,
17 scoped_refptr<base::SingleThreadTaskRunner> device_task_runner); 18 scoped_refptr<base::SingleThreadTaskRunner> device_task_runner);
(...skipping 22 matching lines...) Expand all
40 gfx::NativeViewId window_id, 41 gfx::NativeViewId window_id,
41 base::OnceClosure done_cb); 42 base::OnceClosure done_cb);
42 43
43 std::unique_ptr<media::VideoCaptureDevice> device_; 44 std::unique_ptr<media::VideoCaptureDevice> device_;
44 const scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_; 45 const scoped_refptr<base::SingleThreadTaskRunner> device_task_runner_;
45 }; 46 };
46 47
47 } // namespace content 48 } // namespace content
48 49
49 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE _DEVICE_H_ 50 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_IN_PROCESS_LAUNCHED_VIDEO_CAPTURE _DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698