| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |