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

Unified Diff: remoting/client/ios/host_preferences_chromium.mm

Issue 2628403002: Migrating host preferences, runtime, and gestures to chromium from internal. (Closed)
Patch Set: Updating based on feedback, adding host_preferences_persistence.h to make saving these more clear. 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
« no previous file with comments | « remoting/client/ios/host_preferences.mm ('k') | remoting/client/ios/host_preferences_persistence.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/host_preferences_chromium.mm
diff --git a/remoting/client/ios/host_preferences_chromium.mm b/remoting/client/ios/host_preferences_chromium.mm
new file mode 100644
index 0000000000000000000000000000000000000000..fb67eeaa95698dd04ba0aa52b020fe98719c1676
--- /dev/null
+++ b/remoting/client/ios/host_preferences_chromium.mm
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
Sergey Ulanov 2017/01/18 23:55:50 Rename this file to host_preferences_persistence_c
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "remoting/client/ios/host_preferences.h"
Sergey Ulanov 2017/01/18 23:55:50 don't need this include. replace with host_prefere
+
+#import "base/logging.h"
+#import "remoting/client/ios/host_preferences_persistence.h"
+
+namespace remoting {
+namespace ios {
+
+// TODO(nicholss): It might be useful to save |data| in a static variable,
+// which is then returned from ReadHostPreferencesFromKeychain(). This would
+// allow to test pairing, even though the pairing info is not persisted when
+// the app is restarted.
+
+NSError* WriteHostPreferencesToKeychain(NSData* data) {
+ NOTIMPLEMENTED();
+ return nil;
+}
+
+NSData* ReadHostPreferencesFromKeychain() {
+ NOTIMPLEMENTED();
+ return nil;
+}
+
+} // namespace ios
+} // namespace remoting
« no previous file with comments | « remoting/client/ios/host_preferences.mm ('k') | remoting/client/ios/host_preferences_persistence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698