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

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

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/host/host_mock_objects.cc » ('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 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
7 7
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "remoting/host/capturer.h" 9 #include "remoting/host/capturer.h"
10 #include "remoting/host/curtain.h" 10 #include "remoting/host/curtain.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 }; 77 };
78 78
79 class MockChromotingHostContext : public ChromotingHostContext { 79 class MockChromotingHostContext : public ChromotingHostContext {
80 public: 80 public:
81 MockChromotingHostContext(); 81 MockChromotingHostContext();
82 virtual ~MockChromotingHostContext(); 82 virtual ~MockChromotingHostContext();
83 83
84 MOCK_METHOD0(Start, bool()); 84 MOCK_METHOD0(Start, bool());
85 MOCK_METHOD0(Stop, void()); 85 MOCK_METHOD0(Stop, void());
86 MOCK_METHOD0(jingle_thread, JingleThread*()); 86 MOCK_METHOD0(jingle_thread, JingleThread*());
87 MOCK_METHOD0(io_message_loop, base::MessageLoopProxy*());
87 MOCK_METHOD0(ui_message_loop, base::MessageLoopProxy*()); 88 MOCK_METHOD0(ui_message_loop, base::MessageLoopProxy*());
88 MOCK_METHOD0(main_message_loop, MessageLoop*()); 89 MOCK_METHOD0(main_message_loop, MessageLoop*());
89 MOCK_METHOD0(encode_message_loop, MessageLoop*()); 90 MOCK_METHOD0(encode_message_loop, MessageLoop*());
90 MOCK_METHOD0(network_message_loop, base::MessageLoopProxy*()); 91 MOCK_METHOD0(network_message_loop, base::MessageLoopProxy*());
91 92
92 private: 93 private:
93 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext); 94 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext);
94 }; 95 };
95 96
96 class MockClientSessionEventHandler : public ClientSession::EventHandler { 97 class MockClientSessionEventHandler : public ClientSession::EventHandler {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 MOCK_METHOD2(Authenticate, bool(const std::string& username, 135 MOCK_METHOD2(Authenticate, bool(const std::string& username,
135 const std::string& password)); 136 const std::string& password));
136 137
137 private: 138 private:
138 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 139 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
139 }; 140 };
140 141
141 } // namespace remoting 142 } // namespace remoting
142 143
143 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 144 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698