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

Side by Side Diff: remoting/ios/host_preferences.mm

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 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 unified diff | Download patch
« no previous file with comments | « remoting/ios/host_preferences.h ('k') | remoting/ios/host_preferences_persistence.h » ('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 2017 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 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import "remoting/client/ios/host_preferences.h" 9 #import "remoting/ios/host_preferences.h"
10 10
11 #import "base/logging.h" 11 #import "base/logging.h"
12 #import "remoting/client/ios/host_preferences_persistence.h" 12 #import "remoting/ios/host_preferences_persistence.h"
13 13
14 namespace { 14 namespace {
15 static NSString* const kHostPreferencesDataKeyHostDictionary = 15 static NSString* const kHostPreferencesDataKeyHostDictionary =
16 @"kHostPreferencesDataKeyHostDictionary"; 16 @"kHostPreferencesDataKeyHostDictionary";
17 static NSString* const kHostPreferencesHostIdKey = @"HostId"; 17 static NSString* const kHostPreferencesHostIdKey = @"HostId";
18 static NSString* const kHostPreferencesPairIdKey = @"PairId"; 18 static NSString* const kHostPreferencesPairIdKey = @"PairId";
19 static NSString* const kHostPreferencesPairSecretKey = @"PairSecret"; 19 static NSString* const kHostPreferencesPairSecretKey = @"PairSecret";
20 } // namespace 20 } // namespace
21 21
22 @interface HostPreferences () 22 @interface HostPreferences ()
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return self; 83 return self;
84 } 84 }
85 85
86 - (void)encodeWithCoder:(NSCoder*)coder { 86 - (void)encodeWithCoder:(NSCoder*)coder {
87 [coder encodeObject:_hostId forKey:kHostPreferencesHostIdKey]; 87 [coder encodeObject:_hostId forKey:kHostPreferencesHostIdKey];
88 [coder encodeObject:_pairId forKey:kHostPreferencesPairIdKey]; 88 [coder encodeObject:_pairId forKey:kHostPreferencesPairIdKey];
89 [coder encodeObject:_pairSecret forKey:kHostPreferencesPairSecretKey]; 89 [coder encodeObject:_pairSecret forKey:kHostPreferencesPairSecretKey];
90 } 90 }
91 91
92 @end 92 @end
OLDNEW
« no previous file with comments | « remoting/ios/host_preferences.h ('k') | remoting/ios/host_preferences_persistence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698