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

Side by Side Diff: remoting/base/decoder_verbatim.cc

Issue 2840036: Moving Encoder and Decoder to remoting/base (Closed)
Patch Set: fix DEPS Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « remoting/base/decoder_verbatim.h ('k') | remoting/base/decoder_verbatim_unittest.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "remoting/client/decoder_verbatim.h" 5 #include "remoting/base/decoder_verbatim.h"
6 6
7 #include "remoting/base/protocol_util.h" 7 #include "remoting/base/protocol_util.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
11 DecoderVerbatim::DecoderVerbatim() 11 DecoderVerbatim::DecoderVerbatim()
12 : state_(kWaitingForBeginRect), 12 : state_(kWaitingForBeginRect),
13 rect_x_(0), 13 rect_x_(0),
14 rect_y_(0), 14 rect_y_(0),
15 rect_width_(0), 15 rect_width_(0),
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 return true; 118 return true;
119 } 119 }
120 120
121 bool DecoderVerbatim::HandleEndRect(HostMessage* message) { 121 bool DecoderVerbatim::HandleEndRect(HostMessage* message) {
122 DCHECK_EQ(kWaitingForRectData, state_); 122 DCHECK_EQ(kWaitingForRectData, state_);
123 state_ = kWaitingForBeginRect; 123 state_ = kWaitingForBeginRect;
124 return true; 124 return true;
125 } 125 }
126 126
127 } // namespace remoting 127 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/decoder_verbatim.h ('k') | remoting/base/decoder_verbatim_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698