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

Unified Diff: remoting/client/ios/bridge/client_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
« no previous file with comments | « remoting/client/ios/bridge/client_instance_unittest.mm ('k') | remoting/client/ios/bridge/client_proxy.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/bridge/client_proxy.h
diff --git a/remoting/client/ios/bridge/client_proxy.h b/remoting/client/ios/bridge/client_proxy.h
deleted file mode 100644
index c31e879215c8020d668a58f70f262b0bd63d135d..0000000000000000000000000000000000000000
--- a/remoting/client/ios/bridge/client_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_HOST_PROXY_H_
-#define REMOTING_CLIENT_IOS_BRIDGE_HOST_PROXY_H_
-
-#include <memory>
-#include <string>
-#include <objc/objc.h>
-
-#include "base/memory/weak_ptr.h"
-#include "remoting/protocol/connection_to_host.h"
-#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
-
-#if defined(__OBJC__)
-@class ClientProxyDelegateWrapper;
-#else // __OBJC__
-class ClientProxyDelegateWrapper;
-#endif // __OBJC__
-
-namespace remoting {
-
-// class AudioConsumer;
-
-namespace protocol {
-class CursorShapeInfo;
-} // namespace protocol
-
-// Proxies incoming common Chromoting protocol (HOST) to the UI Application
-// (CLIENT). The HOST will have a Weak reference to call member functions on
-// the UI Thread.
-class ClientProxy : public base::SupportsWeakPtr<ClientProxy> {
- public:
- ClientProxy(ClientProxyDelegateWrapper* wrapper);
-
- // Notifies the user of the current connection status.
- void ReportConnectionStatus(protocol::ConnectionToHost::State state,
- protocol::ErrorCode error);
-
- // Display a dialog box asking the user to enter a PIN.
- void DisplayAuthenticationPrompt(bool pairing_supported);
-
- // Saves new pairing credentials to permanent storage. An empty string
- // represents the unknown value, do not use the NULL value.
- void CommitPairingCredentials(const std::string& host_id,
- const std::string& pair_id,
- const std::string& pair_secret);
-
- // Delivers the latest image buffer for the canvas.
- void RedrawCanvas(webrtc::DesktopFrame* buffer);
-
- // Updates cursor.
- void UpdateCursorShape(const protocol::CursorShapeInfo& cursor_shape);
-
- private:
- // Pointer to the UI application which implements the ClientProxyDelegate.
- // (id) is similar to a (void*) |delegate_| is set from accepting a
- // strongly typed @interface which wraps the @protocol ClientProxyDelegate.
- // see comments for host_proxy_delegate_wrapper.h
- id delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(ClientProxy);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CLIENT_IOS_BRIDGE_HOST_PROXY_H_
« no previous file with comments | « remoting/client/ios/bridge/client_instance_unittest.mm ('k') | remoting/client/ios/bridge/client_proxy.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698