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

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

Issue 2091553002: Expose ClientSession details to Host Extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop_environment
Patch Set: Minor fixup Created 4 years, 6 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
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/host_mock_objects.h" 5 #include "remoting/host/host_mock_objects.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
10 #include "remoting/base/auto_thread_task_runner.h" 10 #include "remoting/base/auto_thread_task_runner.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 void MockInputInjector::Start( 62 void MockInputInjector::Start(
63 std::unique_ptr<protocol::ClipboardStub> client_clipboard) { 63 std::unique_ptr<protocol::ClipboardStub> client_clipboard) {
64 StartPtr(client_clipboard.get()); 64 StartPtr(client_clipboard.get());
65 } 65 }
66 66
67 MockClientSessionControl::MockClientSessionControl() {} 67 MockClientSessionControl::MockClientSessionControl() {}
68 68
69 MockClientSessionControl::~MockClientSessionControl() {} 69 MockClientSessionControl::~MockClientSessionControl() {}
70 70
71 MockClientSessionDetails::MockClientSessionDetails() {}
72
73 MockClientSessionDetails::~MockClientSessionDetails() {}
74
71 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 75 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
72 76
73 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 77 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
74 78
75 MockHostStatusObserver::MockHostStatusObserver() {} 79 MockHostStatusObserver::MockHostStatusObserver() {}
76 80
77 MockHostStatusObserver::~MockHostStatusObserver() {} 81 MockHostStatusObserver::~MockHostStatusObserver() {}
78 82
79 MockGnubbyAuthHandler::MockGnubbyAuthHandler() {} 83 MockGnubbyAuthHandler::MockGnubbyAuthHandler() {}
80 84
81 MockGnubbyAuthHandler::~MockGnubbyAuthHandler() {} 85 MockGnubbyAuthHandler::~MockGnubbyAuthHandler() {}
82 86
83 void MockGnubbyAuthHandler::SetSendMessageCallback( 87 void MockGnubbyAuthHandler::SetSendMessageCallback(
84 const GnubbyAuthHandler::SendMessageCallback& callback) { 88 const GnubbyAuthHandler::SendMessageCallback& callback) {
85 callback_ = callback; 89 callback_ = callback;
86 } 90 }
87 91
88 const GnubbyAuthHandler::SendMessageCallback& 92 const GnubbyAuthHandler::SendMessageCallback&
89 MockGnubbyAuthHandler::GetSendMessageCallback() { 93 MockGnubbyAuthHandler::GetSendMessageCallback() {
90 return callback_; 94 return callback_;
91 } 95 }
92 96
93 MockMouseCursorMonitor::MockMouseCursorMonitor() {} 97 MockMouseCursorMonitor::MockMouseCursorMonitor() {}
94 98
95 MockMouseCursorMonitor::~MockMouseCursorMonitor() {} 99 MockMouseCursorMonitor::~MockMouseCursorMonitor() {}
96 100
97 } // namespace remoting 101 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698