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

Unified Diff: remoting/client/ios/session/remoting_client.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/session/BUILD.gn ('k') | remoting/client/ios/session/remoting_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 09a3a7b8462e38e4c9a70530b588239b4918b429..0000000000000000000000000000000000000000
--- a/remoting/client/ios/session/remoting_client.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// 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_
-
-#import <Foundation/Foundation.h>
-
-#import "remoting/client/ios/display/gl_display_handler.h"
-
-#include "remoting/protocol/connection_to_host.h"
-
-namespace remoting {
-
-class GestureInterpreter;
-
-} // namespace remoting
-
-@class HostInfo;
-@class GlDisplayHandler;
-
-// A list of notifications that will be sent out for different types of Remoting
-// Client events.
-//
-extern NSString* const kHostSessionStatusChanged;
-extern NSString* const kHostSessionPinProvided;
-
-// List of keys in user info from events.
-extern NSString* const kSessionDetails;
-extern NSString* const kSessonStateErrorCode;
-extern NSString* const kHostSessionPin;
-
-// Remoting Client is the entry point for starting a session with a remote
-// host. This object should not be reused. Remoting Client will use the default
-// NSNotificationCenter to signal session state changes using the key
-// |kHostSessionStatusChanged|. It expects to receive an event back on
-// |kHostSessionPinProvided| when the session is asking for a PIN authenication.
-@interface RemotingClient : NSObject<GlDisplayHandlerDelegate>
-
-// Connect to a given host.
-// |hostInfo| is all the details around a host.
-// |username| is the username to be used when connecting.
-// |accessToken| is the oAuth access token to provided to create the session.
-- (void)connectToHost:(HostInfo*)hostInfo
- username:(NSString*)username
- accessToken:(NSString*)accessToken;
-
-// Disconnect the current host connection.
-- (void)disconnectFromHost;
-
-// Mirrors the native client session delegate interface:
-
-- (void)onConnectionState:(remoting::protocol::ConnectionToHost::State)state
- error:(remoting::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;
-
-// Notifies all components that the frame of the surface has changed.
-- (void)surfaceChanged:(const CGRect&)frame;
-
-// The display handler tied to the remoting client used to display the host.
-@property(nonatomic, strong) GlDisplayHandler* displayHandler;
-// The host info used to make the remoting client connection.
-@property(nonatomic, readonly) HostInfo* hostInfo;
-// The gesture interpreter used to handle gestures.
-// This is valid only after the client has connected to the host. Always use
-// RemotingClient.gestureInterpreter instead of storing the pointer separately.
-@property(nonatomic, readonly) remoting::GestureInterpreter* gestureInterpreter;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_SESSION_REMOTING_CLIENT_H_
« no previous file with comments | « remoting/client/ios/session/BUILD.gn ('k') | remoting/client/ios/session/remoting_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698