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

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

Issue 2586403003: [Chromoting] Add SessionPlugin in JingleSession (Closed)
Patch Set: Resolve review comments Created 3 years, 12 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/protocol/protocol_mock_objects.h" 5 #include "remoting/protocol/protocol_mock_objects.h"
6 6
7 #include <memory>
7 #include <utility> 8 #include <utility>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "remoting/protocol/session_plugin.h"
11 #include "remoting/protocol/video_stream.h" 13 #include "remoting/protocol/video_stream.h"
12 14
13 namespace remoting { 15 namespace remoting {
14 namespace protocol { 16 namespace protocol {
15 17
16 MockAuthenticator::MockAuthenticator() {} 18 MockAuthenticator::MockAuthenticator() {}
17 19
18 MockAuthenticator::~MockAuthenticator() {} 20 MockAuthenticator::~MockAuthenticator() {}
19 21
20 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} 22 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void SynchronousPairingRegistry::PostTask( 105 void SynchronousPairingRegistry::PostTask(
104 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 106 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
105 const tracked_objects::Location& from_here, 107 const tracked_objects::Location& from_here,
106 const base::Closure& task) { 108 const base::Closure& task) {
107 DCHECK(task_runner->BelongsToCurrentThread()); 109 DCHECK(task_runner->BelongsToCurrentThread());
108 task.Run(); 110 task.Run();
109 } 111 }
110 112
111 } // namespace protocol 113 } // namespace protocol
112 } // namespace remoting 114 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698