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

Side by Side Diff: content/renderer/media/video_capture_impl.h

Issue 960103002: Rename VideoCaptureImplManager to VideoCaptureService Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 5 years, 9 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 // VideoCaptureImpl represents a capture device in renderer process. It provides 5 // VideoCaptureImpl represents a capture device in renderer process. It provides
6 // interfaces for clients to Start/Stop capture. It also communicates to clients 6 // interfaces for clients to Start/Stop capture. It also communicates to clients
7 // when buffer is ready, state of capture device is changed. 7 // when buffer is ready, state of capture device is changed.
8 8
9 // VideoCaptureImpl is also a delegate of VideoCaptureMessageFilter which relays 9 // VideoCaptureImpl is also a delegate of VideoCaptureMessageFilter which relays
10 // operation of a capture device to the browser process and receives responses 10 // operation of a capture device to the browser process and receives responses
11 // from browser process. 11 // from browser process.
12 // 12 //
13 // VideoCaptureImpl is an IO thread only object. See the comments in 13 // VideoCaptureImpl is an IO thread only object. See the comments in
14 // video_capture_impl_manager.cc for the lifetime of this object. 14 // video_capture_service.cc for the lifetime of this object.
15 // All methods must be called on the IO thread. 15 // All methods must be called on the IO thread.
16 // 16 //
17 // This is an internal class used by VideoCaptureImplManager only. Do not access 17 // This is an internal class used by VideoCaptureService only. Do not access
18 // this directly. 18 // this directly.
19 19
20 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 20 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
21 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 21 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
22 22
23 #include <list> 23 #include <list>
24 #include <map> 24 #include <map>
25 25
26 #include "base/memory/weak_ptr.h" 26 #include "base/memory/weak_ptr.h"
27 #include "base/threading/thread_checker.h" 27 #include "base/threading/thread_checker.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // in |client_buffers_|. 182 // in |client_buffers_|.
183 // NOTE: Weak pointers must be invalidated before all other member variables. 183 // NOTE: Weak pointers must be invalidated before all other member variables.
184 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_; 184 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl); 186 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl);
187 }; 187 };
188 188
189 } // namespace content 189 } // namespace content
190 190
191 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 191 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698