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

Side by Side Diff: remoting/ios/facade/remoting_authentication.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
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 #ifndef REMOTING_CLIENT_IOS_FACADE_REMOTING_AUTHENTICATION_H_ 5 #ifndef REMOTING_IOS_FACADE_REMOTING_AUTHENTICATION_H_
6 #define REMOTING_CLIENT_IOS_FACADE_REMOTING_AUTHENTICATION_H_ 6 #define REMOTING_IOS_FACADE_REMOTING_AUTHENTICATION_H_
7 7
8 #import "remoting/client/chromoting_client_runtime.h" 8 #import "remoting/client/chromoting_client_runtime.h"
9 #import "remoting/client/ios/domain/user_info.h" 9 #import "remoting/ios/domain/user_info.h"
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "remoting/base/oauth_token_getter.h" 12 #include "remoting/base/oauth_token_getter.h"
13 13
14 // |RemotingAuthenticationDelegate|s are interested in authentication related 14 // |RemotingAuthenticationDelegate|s are interested in authentication related
15 // notifications. 15 // notifications.
16 @protocol RemotingAuthenticationDelegate<NSObject> 16 @protocol RemotingAuthenticationDelegate<NSObject>
17 17
18 // Notifies the delegate that the user has been updated. 18 // Notifies the delegate that the user has been updated.
19 - (void)userDidUpdate:(UserInfo*)user; 19 - (void)userDidUpdate:(UserInfo*)user;
(...skipping 21 matching lines...) Expand all
41 - (void)logout; 41 - (void)logout;
42 42
43 // Returns the currently logged in user or nil. 43 // Returns the currently logged in user or nil.
44 @property(strong, nonatomic) UserInfo* user; 44 @property(strong, nonatomic) UserInfo* user;
45 45
46 // Delegate recieves updates on user changes. 46 // Delegate recieves updates on user changes.
47 @property(weak, nonatomic) id<RemotingAuthenticationDelegate> delegate; 47 @property(weak, nonatomic) id<RemotingAuthenticationDelegate> delegate;
48 48
49 @end 49 @end
50 50
51 #endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_AUTHENTICATION_H_ 51 #endif // REMOTING_IOS_FACADE_REMOTING_AUTHENTICATION_H_
OLDNEW
« no previous file with comments | « remoting/ios/facade/ios_client_runtime_delegate.mm ('k') | remoting/ios/facade/remoting_authentication.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698