Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Unified Diff: remoting/client/ios/host_preferences_persistence.h

Issue 2628403002: Migrating host preferences, runtime, and gestures to chromium from internal. (Closed)
Patch Set: Rename impl to match new header file name. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « remoting/client/ios/host_preferences.mm ('k') | remoting/client/ios/host_preferences_persistence_chromium.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698