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

Side by Side Diff: remoting/client/ios/host_preferences.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 unified diff | Download patch
« no previous file with comments | « remoting/client/ios/client_gestures.mm ('k') | remoting/client/ios/host_preferences.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_ 5 #ifndef REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_
6 #define REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_ 6 #define REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_
7 7
8 #import <CoreData/CoreData.h> 8 #import <CoreData/CoreData.h>
9 9
10 // A HostPreferences contains details to negotiate and maintain a connection 10 // A HostPreferences contains details to negotiate and maintain a connection
11 // to a remote Chromoting host. This is an entity in a backing store. 11 // to a remote Chromoting host. This is an entity in a backing store.
12
13 @interface HostPreferences : NSObject<NSCoding> 12 @interface HostPreferences : NSObject<NSCoding>
14 13
15 // Properties supplied by the host server. 14 // Properties supplied by the host server.
16 @property(nonatomic, copy) NSString* hostId; 15 @property(nonatomic, copy) NSString* hostId;
17 @property(nonatomic, copy) NSString* pairId; 16 @property(nonatomic, copy) NSString* pairId;
18 @property(nonatomic, copy) NSString* pairSecret; 17 @property(nonatomic, copy) NSString* pairSecret;
19 18
20 // Commit this record using the SSOKeychain 19 // Commit this record using the Keychain for current identity.
21 // for SSOSigninManager's current identity. 20 - (void)saveToKeychain;
22 - (void)saveToSSOKeychain;
23 21
24 // Load a record from the SSOKeychain 22 // Load a record from the Keychain for current identity.
25 // for SSOSigninManager's current identity.
26 // If a record does not exist, return a new record with a blank secret. 23 // If a record does not exist, return a new record with a blank secret.
27 + (HostPreferences*)hostForId:(NSString*)hostId; 24 + (HostPreferences*)hostForId:(NSString*)hostId;
28 25
29 @end 26 @end
30 27
31 #endif // REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_ 28 #endif // REMOTING_CLIENT_IOS_HOST_PREFERENCES_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/client_gestures.mm ('k') | remoting/client/ios/host_preferences.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698