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

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

Issue 1472873005: Add VideoStream interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_video_pump
Patch Set: Created 5 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
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/video_frame_pump.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 #include "remoting/protocol/video_stream.h"
9 10
10 namespace remoting { 11 namespace remoting {
11 namespace protocol { 12 namespace protocol {
12 13
13 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 14 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
14 15
15 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} 16 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
16 17
17 MockClipboardStub::MockClipboardStub() {} 18 MockClipboardStub::MockClipboardStub() {}
18 19
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void SynchronousPairingRegistry::PostTask( 99 void SynchronousPairingRegistry::PostTask(
99 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 100 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
100 const tracked_objects::Location& from_here, 101 const tracked_objects::Location& from_here,
101 const base::Closure& task) { 102 const base::Closure& task) {
102 DCHECK(task_runner->BelongsToCurrentThread()); 103 DCHECK(task_runner->BelongsToCurrentThread());
103 task.Run(); 104 task.Run();
104 } 105 }
105 106
106 } // namespace protocol 107 } // namespace protocol
107 } // namespace remoting 108 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698