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

Side by Side Diff: remoting/client/ios/keychain_wrapper.h

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/client/ios/key_map_us.h ('k') | remoting/client/ios/keychain_wrapper.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_CLIENT_IOS_KEYCHAIN_WRAPPER_H_
6 #define REMOTING_CLIENT_IOS_KEYCHAIN_WRAPPER_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class UserInfo;
11
12 // Class to abstract the details from how iOS wants to write to the keychain.
13 // TODO(nicholss): This will have to be futher refactored when we integrate
14 // with the private Google auth.
15 @interface KeychainWrapper : NSObject
16
17 // Save a refresh token to the keychain.
18 - (void)setRefreshToken:(NSString*)refreshToken;
19 // Get the refresh token from the keychain, if there is one.
20 - (NSString*)refreshToken;
21 // Reset the keychain and the cache.
22 - (void)resetKeychainItem;
23
24 @end
25
26 #endif // REMOTING_CLIENT_IOS_KEYCHAIN_WRAPPER_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/key_map_us.h ('k') | remoting/client/ios/keychain_wrapper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698