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

Side by Side Diff: remoting/protocol/host_message_dispatcher.cc

Issue 5068001: Move move classes to the remoting::protocol namespace. Minor cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes for windows Created 10 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 | Annotate | Revision Log
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 "base/ref_counted.h" 5 #include "base/ref_counted.h"
6 #include "net/base/io_buffer.h" 6 #include "net/base/io_buffer.h"
7 #include "remoting/proto/control.pb.h" 7 #include "remoting/proto/control.pb.h"
8 #include "remoting/proto/event.pb.h" 8 #include "remoting/proto/event.pb.h"
9 #include "remoting/proto/internal.pb.h"
Alpha Left Google 2010/12/02 19:41:59 also here, why is this needed? I thought we are go
Sergey Ulanov 2010/12/02 20:06:40 Because I moved ControlMessage to internal.proto.
9 #include "remoting/protocol/host_message_dispatcher.h" 10 #include "remoting/protocol/host_message_dispatcher.h"
10 #include "remoting/protocol/host_stub.h" 11 #include "remoting/protocol/host_stub.h"
11 #include "remoting/protocol/input_stub.h" 12 #include "remoting/protocol/input_stub.h"
12 #include "remoting/protocol/message_reader.h" 13 #include "remoting/protocol/message_reader.h"
13 #include "remoting/protocol/session.h" 14 #include "remoting/protocol/session.h"
14 15
15 namespace { 16 namespace {
16 17
17 // A single protobuf can contain multiple messages that will be handled by 18 // A single protobuf can contain multiple messages that will be handled by
18 // different message handlers. We use this wrapper to ensure that the 19 // different message handlers. We use this wrapper to ensure that the
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 94 }
94 if (message->event(i).has_mouse()) { 95 if (message->event(i).has_mouse()) {
95 input_stub_->InjectMouseEvent( 96 input_stub_->InjectMouseEvent(
96 &message->event(i).mouse(), NewDeleteTask(ref_msg)); 97 &message->event(i).mouse(), NewDeleteTask(ref_msg));
97 } 98 }
98 } 99 }
99 } 100 }
100 101
101 } // namespace protocol 102 } // namespace protocol
102 } // namespace remoting 103 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698