| Index: remoting/client/ios/session/remoting_client.h
|
| diff --git a/remoting/client/ios/session/remoting_client.h b/remoting/client/ios/session/remoting_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cbaa425def34e2693b94bcc014b7e222d8c93315
|
| --- /dev/null
|
| +++ b/remoting/client/ios/session/remoting_client.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_
|
| +#define REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_
|
| +
|
| +@interface RemotingClient : NSObject
|
| +
|
| +- (void)connectToHost:(const remoting::ConnectToHostInfo&)info;
|
| +
|
| +// Mirrors the native client session delegate interface:
|
| +
|
| +- (void)onConnectionState:(protocol::ConnectionToHost::State)state
|
| + error:(protocol::ErrorCode)error;
|
| +
|
| +- (void)commitPairingCredentialsForHost:(NSString*)host
|
| + id:(NSString*)id
|
| + secret:(NSString*)secret;
|
| +
|
| +- (void)fetchThirdPartyTokenForUrl:(NSString*)tokenUrl
|
| + clientId:(NSString*)clinetId
|
| + scope:(NSString*)scope;
|
| +
|
| +- (void)setCapabilities:(NSString*)capabilities;
|
| +
|
| +- (void)handleExtensionMessageOfType:(NSString*)type message:(NSString*)message;
|
| +
|
| +@end
|
| +
|
| +#endif // REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_
|
|
|