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

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

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again Created 10 years, 1 month 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_linux.cc ('k') | remoting/host/session_manager.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_MOCK_OBJECTS_H_
7 7
8 #include "remoting/host/capturer.h" 8 #include "remoting/host/capturer.h"
9 #include "remoting/host/client_connection.h" 9 #include "remoting/host/client_connection.h"
10 #include "remoting/host/event_executor.h" 10 #include "remoting/host/event_executor.h"
11 #include "remoting/protocol/messages_decoder.h" 11 #include "remoting/proto/internal.pb.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 class MockCapturer : public Capturer { 16 class MockCapturer : public Capturer {
17 public: 17 public:
18 MockCapturer() {} 18 MockCapturer() {}
19 19
20 MOCK_METHOD0(ScreenConfigurationChanged, void()); 20 MOCK_METHOD0(ScreenConfigurationChanged, void());
21 MOCK_METHOD1(InvalidateRects, void(const InvalidRects& inval_rects)); 21 MOCK_METHOD1(InvalidateRects, void(const InvalidRects& inval_rects));
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer)); 69 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer));
70 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer)); 70 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer));
71 71
72 private: 72 private:
73 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler); 73 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler);
74 }; 74 };
75 75
76 } // namespace remoting 76 } // namespace remoting
77 77
78 #endif // REMOTING_HOST_MOCK_OBJECTS_H_ 78 #endif // REMOTING_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_linux.cc ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698