blob: 486b64fdc8e9845a47d708d6f20fdf6ad4350a7b [file] [log] [blame]
// 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_IOS_HOST_PREFERENCES_PERSISTENCE_H_
#define REMOTING_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_IOS_HOST_PREFERENCES_PERSISTENCE_H_