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

Unified Diff: content/browser/renderer_host/media/video_capture_manager.h

Issue 7217018: Follow up patch on issue 7192007, containing mainly style fixes. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_manager.h
===================================================================
--- content/browser/renderer_host/media/video_capture_manager.h (revision 89863)
+++ content/browser/renderer_host/media/video_capture_manager.h (working copy)
@@ -29,7 +29,7 @@
// before MediaStream is implemented in Chrome and WebKit.
enum { kStartOpenSessionId = 1 };
- // Called to get a pointer to the singleton
+ // Called to get a pointer to the singleton.
static VideoCaptureManager* Get();
// Implements MediaStreamProvider.
@@ -52,7 +52,7 @@
// Stops capture device referenced by |capture_session_id|. No more frames
// will be delivered to the frame receiver, and |stopped_task| will be called.
- void Stop(const media::VideoCaptureSessionId capture_session_id,
+ void Stop(const media::VideoCaptureSessionId& capture_session_id,
Task* stopped_task);
// A capture device error has occurred for |capture_session_id|. The device
@@ -100,14 +100,14 @@
bool DeviceOpened(const StreamDeviceInfo& device_info);
bool IsOnCaptureDeviceThread() const;
- // Thread for all calls to VideoCaptureDevice
+ // Thread for all calls to VideoCaptureDevice.
base::Thread vc_device_thread_;
- // Only accessed on Browser::IO thread
+ // Only accessed on Browser::IO thread.
MediaStreamProviderListener* listener_;
int new_capture_session_id_;
- // Only accessed from vc_device_thread_
+ // Only accessed from vc_device_thread_.
// VideoCaptureManager owns all VideoCaptureDevices and is responsible for
// deleting the instances when they are not used any longer.
typedef std::map<int, media::VideoCaptureDevice*> VideoCaptureDevices;
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698