| 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_AUTHENTICATOR_BASE_H_ | 5 #ifndef REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ |
| 6 #define REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_H_ | 6 #define REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_BASE_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/authenticator.h" | 10 #include "remoting/protocol/authenticator.h" |
| 10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 11 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 11 | 12 |
| 12 namespace remoting { | 13 namespace remoting { |
| 13 namespace protocol { | 14 namespace protocol { |
| 14 | 15 |
| 15 // The pairing authenticator builds on top of V2Authenticator to add | 16 // The pairing authenticator builds on top of V2Authenticator to add |
| 16 // support for PIN-less authentication via device pairing: | 17 // support for PIN-less authentication via device pairing: |
| 17 // | 18 // |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 99 |
| 99 base::WeakPtrFactory<PairingAuthenticatorBase> weak_factory_; | 100 base::WeakPtrFactory<PairingAuthenticatorBase> weak_factory_; |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(PairingAuthenticatorBase); | 102 DISALLOW_COPY_AND_ASSIGN(PairingAuthenticatorBase); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace protocol | 105 } // namespace protocol |
| 105 } // namespace remoting | 106 } // namespace remoting |
| 106 | 107 |
| 107 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ | 108 #endif // REMOTING_PROTOCOL_PAIRING_AUTHENTICATOR_H_ |
| OLD | NEW |