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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/jingle_session.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 #include "remoting/protocol/host_event_dispatcher.h" 5 #include "remoting/protocol/host_event_dispatcher.h"
6 6
7 #include "base/bind_helpers.h"
7 #include "net/socket/stream_socket.h" 8 #include "net/socket/stream_socket.h"
8 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
9 #include "remoting/proto/event.pb.h" 10 #include "remoting/proto/event.pb.h"
10 #include "remoting/proto/internal.pb.h" 11 #include "remoting/proto/internal.pb.h"
11 #include "remoting/protocol/input_stub.h" 12 #include "remoting/protocol/input_stub.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 namespace protocol { 15 namespace protocol {
15 16
16 HostEventDispatcher::HostEventDispatcher() 17 HostEventDispatcher::HostEventDispatcher()
(...skipping 26 matching lines...) Expand all
43 } 44 }
44 } else if (message->has_mouse_event()) { 45 } else if (message->has_mouse_event()) {
45 input_stub_->InjectMouseEvent(message->mouse_event()); 46 input_stub_->InjectMouseEvent(message->mouse_event());
46 } else { 47 } else {
47 LOG(WARNING) << "Unknown event message received."; 48 LOG(WARNING) << "Unknown event message received.";
48 } 49 }
49 } 50 }
50 51
51 } // namespace protocol 52 } // namespace protocol
52 } // namespace remoting 53 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/jingle_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698