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

Unified Diff: remoting/client/ios/session/remoting_client.h

Issue 2805963002: Adding session object for iOS to integerate client sessions. (Closed)
Patch Set: Updating display handler to use correct paths. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698