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

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

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo. Created 8 years, 2 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/desktop_resizer_win.cc ('k') | remoting/host/host_status_observer.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 #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/video_frame_capturer.h" 9 #include "remoting/host/video_frame_capturer.h"
10 #include "remoting/host/chromoting_host_context.h" 10 #include "remoting/host/chromoting_host_context.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client)); 105 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client));
106 MOCK_METHOD1(OnSessionChannelsConnected, void(ClientSession* client)); 106 MOCK_METHOD1(OnSessionChannelsConnected, void(ClientSession* client));
107 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client)); 107 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client));
108 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client)); 108 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
109 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client, 109 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client,
110 int64 sequence_number)); 110 int64 sequence_number));
111 MOCK_METHOD3(OnSessionRouteChange, void( 111 MOCK_METHOD3(OnSessionRouteChange, void(
112 ClientSession* client, 112 ClientSession* client,
113 const std::string& channel_name, 113 const std::string& channel_name,
114 const protocol::TransportRoute& route)); 114 const protocol::TransportRoute& route));
115 MOCK_METHOD2(OnClientDimensionsChanged, void(ClientSession* client,
116 const SkISize& size));
115 117
116 private: 118 private:
117 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); 119 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
118 }; 120 };
119 121
120 class MockEventExecutor : public EventExecutor { 122 class MockEventExecutor : public EventExecutor {
121 public: 123 public:
122 MockEventExecutor(); 124 MockEventExecutor();
123 virtual ~MockEventExecutor(); 125 virtual ~MockEventExecutor();
124 126
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 MOCK_METHOD2(Authenticate, bool(const std::string& username, 164 MOCK_METHOD2(Authenticate, bool(const std::string& username,
163 const std::string& password)); 165 const std::string& password));
164 166
165 private: 167 private:
166 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 168 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
167 }; 169 };
168 170
169 } // namespace remoting 171 } // namespace remoting
170 172
171 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 173 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_resizer_win.cc ('k') | remoting/host/host_status_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698