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

Unified Diff: chrome/renderer/media/cast_session_delegate.h

Issue 163553006: Cast: Refactoring Cast API's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: chrome/renderer/media/cast_session_delegate.h
diff --git a/chrome/renderer/media/cast_session_delegate.h b/chrome/renderer/media/cast_session_delegate.h
index d382287acde6e2bfdd48136587cfebb3cbb2acea..c0e385935ce6c9c30d7fcc6e44db28e3c8cc70f0 100644
--- a/chrome/renderer/media/cast_session_delegate.h
+++ b/chrome/renderer/media/cast_session_delegate.h
@@ -61,14 +61,6 @@ class CastSessionDelegate {
void InitializationResult(media::cast::CastInitializationStatus result) const;
private:
- // Start encoding threads and initialize the CastEnvironment.
- void Initialize();
-
- // Configure CastSender. It is ready to accept audio / video frames after
- // receiving a successful call to InitializationResult.
- void StartSendingInternal(const FrameInputAvailableCallback& callback,
- bool is_audio);
-
base::ThreadChecker thread_checker_;
scoped_refptr<media::cast::CastEnvironment> cast_environment_;
scoped_ptr<media::cast::CastSender> cast_sender_;
@@ -81,10 +73,6 @@ class CastSessionDelegate {
base::Thread audio_encode_thread_;
base::Thread video_encode_thread_;
- // Configuration for audio and video.
- scoped_ptr<media::cast::AudioSenderConfig> audio_config_;
- scoped_ptr<media::cast::VideoSenderConfig> video_config_;
-
scoped_ptr<FrameInputAvailableCallback> audio_frame_input_available_callback_;
scoped_ptr<FrameInputAvailableCallback> video_frame_input_available_callback_;
« no previous file with comments | « no previous file | chrome/renderer/media/cast_session_delegate.cc » ('j') | chrome/renderer/media/cast_session_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698