OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #import "remoting/client/ios/host_preferences_persistence.h" | 5 #import "remoting/ios/host_preferences_persistence.h" |
6 | 6 |
7 #import "base/logging.h" | 7 #import "base/logging.h" |
8 | 8 |
9 namespace remoting { | 9 namespace remoting { |
10 namespace ios { | 10 namespace ios { |
11 | 11 |
12 // TODO(nicholss): It might be useful to save |data| in a static variable, | 12 // TODO(nicholss): It might be useful to save |data| in a static variable, |
13 // which is then returned from ReadHostPreferencesFromKeychain(). This would | 13 // which is then returned from ReadHostPreferencesFromKeychain(). This would |
14 // allow to test pairing, even though the pairing info is not persisted when | 14 // allow to test pairing, even though the pairing info is not persisted when |
15 // the app is restarted. | 15 // the app is restarted. |
16 | 16 |
17 NSError* WriteHostPreferencesToKeychain(NSData* data) { | 17 NSError* WriteHostPreferencesToKeychain(NSData* data) { |
18 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
19 return nil; | 19 return nil; |
20 } | 20 } |
21 | 21 |
22 NSData* ReadHostPreferencesFromKeychain() { | 22 NSData* ReadHostPreferencesFromKeychain() { |
23 NOTIMPLEMENTED(); | 23 NOTIMPLEMENTED(); |
24 return nil; | 24 return nil; |
25 } | 25 } |
26 | 26 |
27 } // namespace ios | 27 } // namespace ios |
28 } // namespace remoting | 28 } // namespace remoting |
OLD | NEW |