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

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

Issue 7089015: Call the DisconnectWindow interface methods on the UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build Created 9 years, 6 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/disconnect_window_linux.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "remoting/host/access_verifier.h" 8 #include "remoting/host/access_verifier.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 public: 57 public:
58 MockChromotingHostContext(); 58 MockChromotingHostContext();
59 virtual ~MockChromotingHostContext(); 59 virtual ~MockChromotingHostContext();
60 60
61 MOCK_METHOD0(Start, void()); 61 MOCK_METHOD0(Start, void());
62 MOCK_METHOD0(Stop, void()); 62 MOCK_METHOD0(Stop, void());
63 MOCK_METHOD0(jingle_thread, JingleThread*()); 63 MOCK_METHOD0(jingle_thread, JingleThread*());
64 MOCK_METHOD0(main_message_loop, MessageLoop*()); 64 MOCK_METHOD0(main_message_loop, MessageLoop*());
65 MOCK_METHOD0(encode_message_loop, MessageLoop*()); 65 MOCK_METHOD0(encode_message_loop, MessageLoop*());
66 MOCK_METHOD0(network_message_loop, MessageLoop*()); 66 MOCK_METHOD0(network_message_loop, MessageLoop*());
67 MOCK_METHOD0(ui_message_loop, MessageLoop*());
67 68
68 private: 69 private:
69 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext); 70 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext);
70 }; 71 };
71 72
72 class MockClientSessionEventHandler : public ClientSession::EventHandler { 73 class MockClientSessionEventHandler : public ClientSession::EventHandler {
73 public: 74 public:
74 MockClientSessionEventHandler(); 75 MockClientSessionEventHandler();
75 virtual ~MockClientSessionEventHandler(); 76 virtual ~MockClientSessionEventHandler();
76 77
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid, 118 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid,
118 const std::string& token)); 119 const std::string& token));
119 120
120 private: 121 private:
121 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier); 122 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier);
122 }; 123 };
123 124
124 } // namespace remoting 125 } // namespace remoting
125 126
126 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 127 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/disconnect_window_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698