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

Side by Side Diff: chrome/renderer/media/cast_receiver_session_delegate.h

Issue 2415703002: Move files video_capture*.* from media/base to media/capture (Closed)
Patch Set: rebase Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_
6 #define CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_ 6 #define CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/renderer/media/cast_receiver_audio_valve.h" 11 #include "chrome/renderer/media/cast_receiver_audio_valve.h"
12 #include "chrome/renderer/media/cast_session_delegate.h" 12 #include "chrome/renderer/media/cast_session_delegate.h"
13 #include "content/public/renderer/media_stream_video_sink.h" 13 #include "content/public/renderer/media_stream_video_sink.h"
14 #include "media/base/video_capture_types.h" 14 #include "media/capture/video_capture_types.h"
15 #include "media/cast/cast_receiver.h" 15 #include "media/cast/cast_receiver.h"
16 16
17 class CastReceiverSessionDelegate : public CastSessionDelegateBase { 17 class CastReceiverSessionDelegate : public CastSessionDelegateBase {
18 public: 18 public:
19 typedef base::Callback<void(const std::string&)> ErrorCallback; 19 typedef base::Callback<void(const std::string&)> ErrorCallback;
20 20
21 CastReceiverSessionDelegate(); 21 CastReceiverSessionDelegate();
22 ~CastReceiverSessionDelegate() override; 22 ~CastReceiverSessionDelegate() override;
23 23
24 void ReceivePacket(std::unique_ptr<media::cast::Packet> packet) override; 24 void ReceivePacket(std::unique_ptr<media::cast::Packet> packet) override;
(...skipping 25 matching lines...) Expand all
50 content::VideoCaptureDeliverFrameCB frame_callback_; 50 content::VideoCaptureDeliverFrameCB frame_callback_;
51 media::cast::AudioFrameDecodedCallback on_audio_decoded_cb_; 51 media::cast::AudioFrameDecodedCallback on_audio_decoded_cb_;
52 media::cast::VideoFrameDecodedCallback on_video_decoded_cb_; 52 media::cast::VideoFrameDecodedCallback on_video_decoded_cb_;
53 std::unique_ptr<media::cast::CastReceiver> cast_receiver_; 53 std::unique_ptr<media::cast::CastReceiver> cast_receiver_;
54 media::VideoCaptureFormat format_; 54 media::VideoCaptureFormat format_;
55 base::WeakPtrFactory<CastReceiverSessionDelegate> weak_factory_; 55 base::WeakPtrFactory<CastReceiverSessionDelegate> weak_factory_;
56 DISALLOW_COPY_AND_ASSIGN(CastReceiverSessionDelegate); 56 DISALLOW_COPY_AND_ASSIGN(CastReceiverSessionDelegate);
57 }; 57 };
58 58
59 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_ 59 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_receiver_session.cc ('k') | content/browser/media/capture/aura_window_capture_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698