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

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

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Windows warning Created 6 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/host/host_mock_objects.h ('k') | remoting/host/ipc_desktop_environment.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/host_mock_objects.h" 5 #include "remoting/host/host_mock_objects.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.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 21 matching lines...) Expand all
32 32
33 scoped_ptr<ScreenControls> MockDesktopEnvironment::CreateScreenControls() { 33 scoped_ptr<ScreenControls> MockDesktopEnvironment::CreateScreenControls() {
34 return scoped_ptr<ScreenControls>(CreateScreenControlsPtr()); 34 return scoped_ptr<ScreenControls>(CreateScreenControlsPtr());
35 } 35 }
36 36
37 scoped_ptr<webrtc::ScreenCapturer> 37 scoped_ptr<webrtc::ScreenCapturer>
38 MockDesktopEnvironment::CreateVideoCapturer() { 38 MockDesktopEnvironment::CreateVideoCapturer() {
39 return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr()); 39 return scoped_ptr<webrtc::ScreenCapturer>(CreateVideoCapturerPtr());
40 } 40 }
41 41
42 scoped_ptr<GnubbyAuthHandler>
43 MockDesktopEnvironment::CreateGnubbyAuthHandler(
44 protocol::ClientStub* client_stub) {
45 return scoped_ptr<GnubbyAuthHandler>(CreateGnubbyAuthHandlerPtr(client_stub));
46 }
47
42 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} 48 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {}
43 49
44 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} 50 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {}
45 51
46 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( 52 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create(
47 base::WeakPtr<ClientSessionControl> client_session_control) { 53 base::WeakPtr<ClientSessionControl> client_session_control) {
48 return scoped_ptr<DesktopEnvironment>(CreatePtr()); 54 return scoped_ptr<DesktopEnvironment>(CreatePtr());
49 } 55 }
50 56
51 MockInputInjector::MockInputInjector() {} 57 MockInputInjector::MockInputInjector() {}
(...skipping 10 matching lines...) Expand all
62 MockClientSessionControl::~MockClientSessionControl() {} 68 MockClientSessionControl::~MockClientSessionControl() {}
63 69
64 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 70 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
65 71
66 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 72 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
67 73
68 MockHostStatusObserver::MockHostStatusObserver() {} 74 MockHostStatusObserver::MockHostStatusObserver() {}
69 75
70 MockHostStatusObserver::~MockHostStatusObserver() {} 76 MockHostStatusObserver::~MockHostStatusObserver() {}
71 77
78 MockGnubbyAuthHandler::MockGnubbyAuthHandler() {}
79
80 MockGnubbyAuthHandler::~MockGnubbyAuthHandler() {}
81
72 } // namespace remoting 82 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/ipc_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698