OLD | NEW |
(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_FACADE_REMOTING_SERCICE_H_ |
| 6 #define REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_ |
| 7 |
| 8 #import "remoting/client/ios/domain/host_info.h" |
| 9 #import "remoting/client/ios/domain/user_info.h" |
| 10 |
| 11 @interface RemotingService : NSObject |
| 12 |
| 13 + (RemotingService*)sharedInstance; |
| 14 |
| 15 - (BOOL)isAuthenticated; |
| 16 - (void)authenticateWithAuthorizationCode:(NSString*)authorizationCode; |
| 17 - (UserInfo*)getUser; |
| 18 - (NSArray<HostInfo*>*)getHosts; |
| 19 |
| 20 @end |
| 21 |
| 22 #endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_ |
OLD | NEW |