| Index: remoting/client/ios/host_preferences_persistence.h
|
| diff --git a/remoting/client/ios/host_preferences_persistence.h b/remoting/client/ios/host_preferences_persistence.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b5484ebfb5198851c0c831c2d323e5f8e2c96b26
|
| --- /dev/null
|
| +++ b/remoting/client/ios/host_preferences_persistence.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_
|
| +#define REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_
|
| +
|
| +#import <CoreData/CoreData.h>
|
| +
|
| +// Methods used to store and recall Host Prefrences on the keychain.
|
| +// Used to cache data for quicker connection to previously fetched host data.
|
| +namespace remoting {
|
| +namespace ios {
|
| +
|
| +NSError* WriteHostPreferencesToKeychain(NSData* data);
|
| +NSData* ReadHostPreferencesFromKeychain();
|
| +
|
| +} // namespace ios
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_CLIENT_IOS_HOST_PREFERENCES_PERSISTENCE_H_
|
|
|