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

Side by Side Diff: remoting/host/ipc_input_injector.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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/host/ipc_input_injector.h ('k') | remoting/host/ipc_mouse_cursor_monitor.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/host/ipc_input_injector.h" 5 #include "remoting/host/ipc_input_injector.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "remoting/host/desktop_session_proxy.h" 9 #include "remoting/host/desktop_session_proxy.h"
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { 34 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) {
35 desktop_session_proxy_->InjectMouseEvent(event); 35 desktop_session_proxy_->InjectMouseEvent(event);
36 } 36 }
37 37
38 void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) { 38 void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) {
39 desktop_session_proxy_->InjectTouchEvent(event); 39 desktop_session_proxy_->InjectTouchEvent(event);
40 } 40 }
41 41
42 void IpcInputInjector::Start( 42 void IpcInputInjector::Start(
43 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 43 std::unique_ptr<protocol::ClipboardStub> client_clipboard) {
44 desktop_session_proxy_->StartInputInjector(std::move(client_clipboard)); 44 desktop_session_proxy_->StartInputInjector(std::move(client_clipboard));
45 } 45 }
46 46
47 } // namespace remoting 47 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/ipc_input_injector.h ('k') | remoting/host/ipc_mouse_cursor_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698