| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PAIRING_CLIENT_AUTHENTICATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_PAIRING_CLIENT_AUTHENTICATOR_H_ |
| 6 #define REMOTING_PROTOCOL_PAIRING_CLIENT_AUTHENTICATOR_H_ | 6 #define REMOTING_PROTOCOL_PAIRING_CLIENT_AUTHENTICATOR_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 9 #include "remoting/protocol/pairing_authenticator_base.h" | 10 #include "remoting/protocol/pairing_authenticator_base.h" |
| 10 | 11 |
| 11 namespace remoting { | 12 namespace remoting { |
| 12 namespace protocol { | 13 namespace protocol { |
| 13 | 14 |
| 14 class PairingClientAuthenticator : public PairingAuthenticatorBase { | 15 class PairingClientAuthenticator : public PairingAuthenticatorBase { |
| 15 public: | 16 public: |
| 16 PairingClientAuthenticator( | 17 PairingClientAuthenticator( |
| 17 const std::string& client_id, | 18 const std::string& client_id, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 | 41 |
| 41 base::WeakPtrFactory<PairingClientAuthenticator> weak_factory_; | 42 base::WeakPtrFactory<PairingClientAuthenticator> weak_factory_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(PairingClientAuthenticator); | 44 DISALLOW_COPY_AND_ASSIGN(PairingClientAuthenticator); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace protocol | 47 } // namespace protocol |
| 47 } // namespace remoting | 48 } // namespace remoting |
| 48 | 49 |
| 49 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ | 50 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ |
| OLD | NEW |