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

Unified Diff: remoting/ios/host_preferences.h

Issue 186733007: iOS Chromoting Client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/ios/host_cell.mm ('k') | remoting/ios/host_refresh.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/host_preferences.h
diff --git a/remoting/ios/host_preferences.h b/remoting/ios/host_preferences.h
new file mode 100644
index 0000000000000000000000000000000000000000..6becae59a5d76fd4206ca12fdcbcd1a216e5a18a
--- /dev/null
+++ b/remoting/ios/host_preferences.h
@@ -0,0 +1,32 @@
+// Copyright 2014 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_H_
+#define REMOTING_IOS_HOST_PREFERENCES_H_
+
+#import <CoreData/CoreData.h>
+
+// A HostPreferences contains details to negotiate and maintain a connection
+// to a remote Chromoting host. This is a entity in a backing store. The
+// implementation file is ChromotingModel.xcdatamodeld. If this file is
+// updated, also update the model. The model MUST be properly versioned to
+// ensure backwards compatibility.
+// https://developer.apple.com/library/ios/recipes/xcode_help-core_data_modeling_tool/Articles/creating_new_version.html
+// Or the app must be uninstalled, and reinstalled which will erase the previous
+// version of the backing store.
+@interface HostPreferences : NSManagedObject
+
+// Is a prompt is needed to reconnect or continue the connection to
+// the host
+@property(nonatomic, copy) NSNumber* askForPin;
+// Several properties are populated from the jabber jump server
+@property(nonatomic, copy) NSString* hostId;
+// Supplied by client via UI interaction
+@property(nonatomic, copy) NSString* hostPin;
+@property(nonatomic, copy) NSString* pairId;
+@property(nonatomic, copy) NSString* pairSecret;
+
+@end
+
+#endif // REMOTING_IOS_HOST_PREFERENCES_H_
« no previous file with comments | « remoting/ios/host_cell.mm ('k') | remoting/ios/host_refresh.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698