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

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

Issue 9727005: Log connection type to syslogs and to the server. (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/host_event_logger_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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 public: 98 public:
99 MockClientSessionEventHandler(); 99 MockClientSessionEventHandler();
100 virtual ~MockClientSessionEventHandler(); 100 virtual ~MockClientSessionEventHandler();
101 101
102 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client)); 102 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client));
103 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client)); 103 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client));
104 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client)); 104 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
105 MOCK_METHOD1(OnSessionFailed, void(ClientSession* client)); 105 MOCK_METHOD1(OnSessionFailed, void(ClientSession* client));
106 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client, 106 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client,
107 int64 sequence_number)); 107 int64 sequence_number));
108 MOCK_METHOD4(OnSessionRouteChange, void( 108 MOCK_METHOD3(OnSessionRouteChange, void(
109 ClientSession* client, 109 ClientSession* client,
110 const std::string& channel_name, 110 const std::string& channel_name,
111 const net::IPEndPoint& remote_end_point, 111 const protocol::TransportRoute& route));
112 const net::IPEndPoint& local_end_point));
113 112
114 private: 113 private:
115 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); 114 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
116 }; 115 };
117 116
118 class MockEventExecutor : public EventExecutor { 117 class MockEventExecutor : public EventExecutor {
119 public: 118 public:
120 MockEventExecutor(); 119 MockEventExecutor();
121 virtual ~MockEventExecutor(); 120 virtual ~MockEventExecutor();
122 121
(...skipping 14 matching lines...) Expand all
137 MOCK_METHOD2(Authenticate, bool(const std::string& username, 136 MOCK_METHOD2(Authenticate, bool(const std::string& username,
138 const std::string& password)); 137 const std::string& password));
139 138
140 private: 139 private:
141 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 140 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
142 }; 141 };
143 142
144 } // namespace remoting 143 } // namespace remoting
145 144
146 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 145 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/host_event_logger_win.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698