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

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: Cleaned up SkISize zero check. Fixed XFlush bug. Created 8 years, 3 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
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_METHOD1(OnClientDimensionsChanged, void(const SkISize& size));
115 116
116 private: 117 private:
117 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); 118 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
118 }; 119 };
119 120
120 class MockEventExecutor : public EventExecutor { 121 class MockEventExecutor : public EventExecutor {
121 public: 122 public:
122 MockEventExecutor(); 123 MockEventExecutor();
123 virtual ~MockEventExecutor(); 124 virtual ~MockEventExecutor();
124 125
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 MOCK_METHOD2(Authenticate, bool(const std::string& username, 163 MOCK_METHOD2(Authenticate, bool(const std::string& username,
163 const std::string& password)); 164 const std::string& password));
164 165
165 private: 166 private:
166 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 167 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
167 }; 168 };
168 169
169 } // namespace remoting 170 } // namespace remoting
170 171
171 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 172 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698