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

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

Issue 8351084: Remove old Authentication code that we don't use or need. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 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/client_session_unittest.cc ('k') | remoting/host/self_access_verifier.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) 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 private: 89 private:
90 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext); 90 DISALLOW_COPY_AND_ASSIGN(MockChromotingHostContext);
91 }; 91 };
92 92
93 class MockClientSessionEventHandler : public ClientSession::EventHandler { 93 class MockClientSessionEventHandler : public ClientSession::EventHandler {
94 public: 94 public:
95 MockClientSessionEventHandler(); 95 MockClientSessionEventHandler();
96 virtual ~MockClientSessionEventHandler(); 96 virtual ~MockClientSessionEventHandler();
97 97
98 MOCK_METHOD1(LocalLoginSucceeded, 98 MOCK_METHOD1(OnAuthenticationComplete,
99 void(scoped_refptr<protocol::ConnectionToClient>));
100 MOCK_METHOD1(LocalLoginFailed,
101 void(scoped_refptr<protocol::ConnectionToClient>)); 99 void(scoped_refptr<protocol::ConnectionToClient>));
102 100
103 private: 101 private:
104 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); 102 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
105 }; 103 };
106 104
107 class MockEventExecutor : public EventExecutor { 105 class MockEventExecutor : public EventExecutor {
108 public: 106 public:
109 MockEventExecutor(); 107 MockEventExecutor();
110 virtual ~MockEventExecutor(); 108 virtual ~MockEventExecutor();
(...skipping 25 matching lines...) Expand all
136 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid, 134 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid,
137 const std::string& token)); 135 const std::string& token));
138 136
139 private: 137 private:
140 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier); 138 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier);
141 }; 139 };
142 140
143 } // namespace remoting 141 } // namespace remoting
144 142
145 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 143 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/self_access_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698