| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_ |
| 6 #define REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_ |
| 7 |
| 8 #import <CoreData/CoreData.h> |
| 9 |
| 10 // Methods used to store and recall Host Prefrences on the keychain. |
| 11 // Used to cache data for quicker connection to previously fetched host data. |
| 12 namespace remoting { |
| 13 namespace ios { |
| 14 |
| 15 NSError* WriteHostPreferencesToKeychain(NSData* data); |
| 16 NSData* ReadHostPreferencesFromKeychain(); |
| 17 |
| 18 } // namespace ios |
| 19 } // namespace remoting |
| 20 |
| 21 #endif // REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_ |
| OLD | NEW |