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

Unified Diff: remoting/client/ios/bridge/host_proxy.h

Issue 2829853003: Remove crufty bridge code from old CRD iOS app. (Closed)
Patch Set: Fix remoting/display proto import issue. 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/bridge/host_proxy.h
diff --git a/remoting/client/ios/bridge/host_proxy.h b/remoting/client/ios/bridge/host_proxy.h
deleted file mode 100644
index b0ec6bf42419d63ca9204d11f4e6d6731dd19f98..0000000000000000000000000000000000000000
--- a/remoting/client/ios/bridge/host_proxy.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright 2016 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_BRIDGE_CLIENT_PROXY_H_
-#define REMOTING_CLIENT_IOS_BRIDGE_CLIENT_PROXY_H_
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-#include <memory>
-
-#import "remoting/client/ios/bridge/client_proxy_delegate_wrapper.h"
-
-#include "base/memory/ref_counted.h"
-#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
-
-namespace remoting {
-class ClientInstance;
-class ClientProxy;
-} // namespace remoting
-
-// HostProxy is one channel of a bridge from the UI Application (CLIENT) and the
-// common Chromoting protocol (HOST). HostProxy proxies message from the UI
-// application to the host. The reverse channel, ClientProxy, is owned by the
-// HostProxy to control deconstruction order, but is shared with the
-// ClientInstance to perform work.
-
-@interface HostProxy : NSObject {
- @private
- // Host to Client channel.
- std::unique_ptr<remoting::ClientProxy> _hostToClientChannel;
- // Client to Host channel, must be released before |_hostToClientChannel|.
- scoped_refptr<remoting::ClientInstance> _clientToHostChannel;
- // Connection state.
- BOOL _isConnected;
-}
-
-// TRUE when a connection has been established successfully.
-- (BOOL)isConnected;
-
-// Forwards credentials from CLIENT and to HOST and begins establishing a
-// connection.
-- (void)connectToHost:(NSString*)username
- authToken:(NSString*)token
- jabberId:(NSString*)jid
- hostId:(NSString*)hostId
- publicKey:(NSString*)hostPublicKey
- delegate:(id<ClientProxyDelegate>)delegate;
-
-// Report from CLIENT with the user's PIN.
-- (void)authenticationResponse:(NSString*)pin createPairing:(BOOL)createPairing;
-
-// CLIENT initiated disconnection.
-- (void)disconnectFromHost;
-
-// Report from CLIENT of mouse input.
-- (void)mouseAction:(const webrtc::DesktopVector&)position
- wheelDelta:(const webrtc::DesktopVector&)wheelDelta
- whichButton:(NSInteger)buttonPressed
- buttonDown:(BOOL)buttonIsDown;
-
-// Report from CLIENT of keyboard input.
-- (void)keyboardAction:(NSInteger)keyCode keyDown:(BOOL)keyIsDown;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_BRIDGE_CLIENT_PROXY_H_
« no previous file with comments | « remoting/client/ios/bridge/frame_consumer_bridge_unittest.cc ('k') | remoting/client/ios/bridge/host_proxy.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698