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

Side by Side Diff: media/cast/cast_sender_impl.h

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/net/cast_transport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_ 4 #ifndef MEDIA_CAST_CAST_SENDER_IMPL_H_
5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_ 5 #define MEDIA_CAST_CAST_SENDER_IMPL_H_
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "media/cast/cast_environment.h" 11 #include "media/cast/cast_environment.h"
12 #include "media/cast/cast_sender.h" 12 #include "media/cast/cast_sender.h"
13 #include "media/cast/sender/audio_sender.h" 13 #include "media/cast/sender/audio_sender.h"
14 #include "media/cast/sender/video_sender.h" 14 #include "media/cast/sender/video_sender.h"
15 15
16 namespace media { 16 namespace media {
17 class VideoFrame;
18 17
19 namespace cast { 18 namespace cast {
20 class AudioSender; 19 class AudioSender;
21 class VideoSender; 20 class VideoSender;
22 21
23 // This class combines all required sending objects such as the audio and video 22 // This class combines all required sending objects such as the audio and video
24 // senders, pacer, packet receiver and frame input. 23 // senders, pacer, packet receiver and frame input.
25 class CastSenderImpl : public CastSender { 24 class CastSenderImpl : public CastSender {
26 public: 25 public:
27 CastSenderImpl(scoped_refptr<CastEnvironment> cast_environment, 26 CastSenderImpl(scoped_refptr<CastEnvironment> cast_environment,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // NOTE: Weak pointers must be invalidated before all other member variables. 60 // NOTE: Weak pointers must be invalidated before all other member variables.
62 base::WeakPtrFactory<CastSenderImpl> weak_factory_; 61 base::WeakPtrFactory<CastSenderImpl> weak_factory_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl); 63 DISALLOW_COPY_AND_ASSIGN(CastSenderImpl);
65 }; 64 };
66 65
67 } // namespace cast 66 } // namespace cast
68 } // namespace media 67 } // namespace media
69 68
70 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_ 69 #endif // MEDIA_CAST_CAST_SENDER_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/cast_sender.h ('k') | media/cast/net/cast_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698