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

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

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/protocol/protocol_mock_objects.h ('k') | remoting/protocol/video_feedback_stub.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/protocol/protocol_mock_objects.h" 5 #include "remoting/protocol/protocol_mock_objects.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/thread_task_runner_handle.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 namespace protocol { 11 namespace protocol {
12 12
13 MockConnectionToClient::MockConnectionToClient(Session* session, 13 MockConnectionToClient::MockConnectionToClient(Session* session,
14 HostStub* host_stub) 14 HostStub* host_stub)
15 : ConnectionToClient(session), 15 : ConnectionToClient(session),
16 clipboard_stub_(nullptr), 16 clipboard_stub_(nullptr),
17 host_stub_(host_stub), 17 host_stub_(host_stub),
18 input_stub_(nullptr) { 18 input_stub_(nullptr),
19 video_feedback_stub_(nullptr) {
19 } 20 }
20 21
21 MockConnectionToClient::~MockConnectionToClient() {} 22 MockConnectionToClient::~MockConnectionToClient() {}
22 23
23 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 24 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
24 25
25 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} 26 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
26 27
27 MockClipboardStub::MockClipboardStub() {} 28 MockClipboardStub::MockClipboardStub() {}
28 29
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void SynchronousPairingRegistry::PostTask( 109 void SynchronousPairingRegistry::PostTask(
109 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 110 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
110 const tracked_objects::Location& from_here, 111 const tracked_objects::Location& from_here,
111 const base::Closure& task) { 112 const base::Closure& task) {
112 DCHECK(task_runner->BelongsToCurrentThread()); 113 DCHECK(task_runner->BelongsToCurrentThread());
113 task.Run(); 114 task.Run();
114 } 115 }
115 116
116 } // namespace protocol 117 } // namespace protocol
117 } // namespace remoting 118 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/video_feedback_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698