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

Unified Diff: content/renderer/media/video_capture_impl.h

Issue 2365223002: Video Capture: Allow suspension of individual devices. (Closed)
Patch Set: Style tweaks, per mcasas's comments. Created 4 years, 3 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 | « content/renderer/media/media_stream_video_track.cc ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl.h
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index 74c4d19d33fda6389f867cd4774410b29001c47d..419af4f749abcdd5a804cbed726de0b2b897f4ac 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -87,6 +87,10 @@ class CONTENT_EXPORT VideoCaptureImpl
media::VideoCaptureSessionId session_id() const { return session_id_; }
+ protected:
+ // Note: Overridden only by unit test subclasses.
+ virtual void Send(IPC::Message* message);
+
private:
friend class VideoCaptureImplTest;
friend class MockVideoCaptureImpl;
@@ -149,8 +153,6 @@ class CONTENT_EXPORT VideoCaptureImpl
void RestartCapture();
void StartCaptureInternal();
- virtual void Send(IPC::Message* message);
-
// Helpers.
bool RemoveClient(int client_id, ClientInfoMap* clients);
« no previous file with comments | « content/renderer/media/media_stream_video_track.cc ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698