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_SESSION_REMOTING_CLIENT_H_ |
| 6 #define REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ |
| 7 |
| 8 @interface RemotingClient : NSObject |
| 9 |
| 10 - (void)connectToHost:(const remoting::ConnectToHostInfo&)info; |
| 11 |
| 12 // Mirrors the native client session delegate interface: |
| 13 |
| 14 - (void)onConnectionState:(protocol::ConnectionToHost::State)state |
| 15 error:(protocol::ErrorCode)error; |
| 16 |
| 17 - (void)commitPairingCredentialsForHost:(NSString*)host |
| 18 id:(NSString*)id |
| 19 secret:(NSString*)secret; |
| 20 |
| 21 - (void)fetchThirdPartyTokenForUrl:(NSString*)tokenUrl |
| 22 clientId:(NSString*)clinetId |
| 23 scope:(NSString*)scope; |
| 24 |
| 25 - (void)setCapabilities:(NSString*)capabilities; |
| 26 |
| 27 - (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message; |
| 28 |
| 29 @end |
| 30 |
| 31 #endif // REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_ |
OLD | NEW |