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

Side by Side Diff: remoting/client/rectangle_update_decoder.h

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « remoting/client/plugin/pepper_view_proxy.h ('k') | remoting/host/chromoting_host.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H 5 #ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H 6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
11 #include "remoting/base/decoder.h" 11 #include "remoting/base/decoder.h"
12 12
13 class MessageLoop; 13 class MessageLoop;
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 class FrameConsumer; 17 class FrameConsumer;
18 class VideoPacketFormat;
19 class VideoPacket; 18 class VideoPacket;
20 19
21 namespace protocol { 20 namespace protocol {
22 class SessionConfig; 21 class SessionConfig;
23 } // namespace protocol 22 } // namespace protocol
24 23
25 // TODO(ajwong): Re-examine this API, especially with regards to how error 24 // TODO(ajwong): Re-examine this API, especially with regards to how error
26 // conditions on each step are reported. Should they be CHECKs? Logs? Other? 25 // conditions on each step are reported. Should they be CHECKs? Logs? Other?
27 // TODO(sergeyu): Rename this class. 26 // TODO(sergeyu): Rename this class.
28 class RectangleUpdateDecoder : 27 class RectangleUpdateDecoder :
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // The video frame that the decoder writes to. 87 // The video frame that the decoder writes to.
89 scoped_refptr<media::VideoFrame> frame_; 88 scoped_refptr<media::VideoFrame> frame_;
90 bool frame_is_new_; 89 bool frame_is_new_;
91 90
92 // True if |consumer_| is currently using the frame. 91 // True if |consumer_| is currently using the frame.
93 bool frame_is_consuming_; 92 bool frame_is_consuming_;
94 }; 93 };
95 94
96 } // namespace remoting 95 } // namespace remoting
97 96
98 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H 97 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_view_proxy.h ('k') | remoting/host/chromoting_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698