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

Side by Side Diff: remoting/ios/keychain_wrapper.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/keychain_wrapper.h ('k') | remoting/ios/session/BUILD.gn » ('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/keychain_wrapper.h" 9 #import "remoting/ios/keychain_wrapper.h"
10 10
11 #import "remoting/client/ios/domain/host_info.h" 11 #import "remoting/ios/domain/host_info.h"
12 12
13 static const UInt8 kKeychainItemIdentifier[] = "org.chromium.RemoteDesktop\0"; 13 static const UInt8 kKeychainItemIdentifier[] = "org.chromium.RemoteDesktop\0";
14 14
15 @interface KeychainWrapper () { 15 @interface KeychainWrapper () {
16 NSMutableDictionary* _keychainData; 16 NSMutableDictionary* _keychainData;
17 NSMutableDictionary* _userInfoQuery; 17 NSMutableDictionary* _userInfoQuery;
18 } 18 }
19 @end 19 @end
20 20
21 @implementation KeychainWrapper 21 @implementation KeychainWrapper
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 NSLog(@"Couldn't add the Keychain Item. %d", (int)errorcode); 197 NSLog(@"Couldn't add the Keychain Item. %d", (int)errorcode);
198 } 198 }
199 if (attributes) { 199 if (attributes) {
200 CFRelease(attributes); 200 CFRelease(attributes);
201 attributes = nil; 201 attributes = nil;
202 } 202 }
203 } 203 }
204 } 204 }
205 205
206 @end 206 @end
OLDNEW
« no previous file with comments | « remoting/ios/keychain_wrapper.h ('k') | remoting/ios/session/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698