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

Side by Side Diff: remoting/protocol/rejecting_authenticator.h

Issue 1828923004: Remove even more headers from base/memory/scoped_ptr.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « blimp/common/logging.h ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_ 5 #ifndef REMOTING_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_
6 #define REMOTING_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_ 6 #define REMOTING_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "remoting/protocol/authenticator.h" 11 #include "remoting/protocol/authenticator.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 namespace protocol { 14 namespace protocol {
14 15
15 // Authenticator that accepts one message and rejects connection after that. 16 // Authenticator that accepts one message and rejects connection after that.
16 class RejectingAuthenticator : public Authenticator { 17 class RejectingAuthenticator : public Authenticator {
17 public: 18 public:
18 RejectingAuthenticator(RejectionReason rejection_reason); 19 RejectingAuthenticator(RejectionReason rejection_reason);
19 ~RejectingAuthenticator() override; 20 ~RejectingAuthenticator() override;
(...skipping 13 matching lines...) Expand all
33 State state_ = WAITING_MESSAGE; 34 State state_ = WAITING_MESSAGE;
34 std::string auth_key_; 35 std::string auth_key_;
35 36
36 DISALLOW_COPY_AND_ASSIGN(RejectingAuthenticator); 37 DISALLOW_COPY_AND_ASSIGN(RejectingAuthenticator);
37 }; 38 };
38 39
39 } // namespace protocol 40 } // namespace protocol
40 } // namespace remoting 41 } // namespace remoting
41 42
42 #endif // REMOTING_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_ 43 #endif // REMOTING_PROTOCOL_REJECTING_AUTHENTICATOR_FACTORY_H_
OLDNEW
« no previous file with comments | « blimp/common/logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698