OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_ |
| 6 #define REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "remoting/protocol/pairing_registry.h" |
| 10 |
| 11 namespace base { |
| 12 class TaskRunner; |
| 13 } // namespace base |
| 14 |
| 15 namespace remoting { |
| 16 // Returns a platform-specific pairing registry delegate that will save to |
| 17 // permanent storage using the specified TaskRunner. Returns NULL on platforms |
| 18 // that don't support pairing. |
| 19 scoped_ptr<protocol::PairingRegistry::Delegate> |
| 20 CreatePairingRegistryDelegate(scoped_refptr<base::TaskRunner> task_runner); |
| 21 } // namespace remoting |
| 22 |
| 23 #endif // REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_ |
OLD | NEW |