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

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

Issue 8662001: Remove AccessVerifier interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years 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 | « no previous file | remoting/host/chromoting_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_ACCESS_VERIFIER_H_
6 #define REMOTING_HOST_ACCESS_VERIFIER_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 namespace remoting {
13
14 // AccessVerifier is used by ChromotingHost to verify that access to
15 // the host. There are two implementations: SelfAccessVerifier is used
16 // in the Me2Me scenario, SupportAccessVerifier is used for Me2Mom.
17 class AccessVerifier {
18 public:
19 AccessVerifier() { }
20 virtual ~AccessVerifier() { }
21
22 virtual bool VerifyPermissions(const std::string& client_jid,
23 const std::string& encoded_client_token) = 0;
24 };
25
26 } // namespace remoting
27
28 #endif // REMOTING_HOST_ACCESS_VERIFIER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698