| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ | 5 #ifndef REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ |
| 6 #define REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ | 6 #define REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
| 15 #include "remoting/base/auto_thread.h" | 15 #include "remoting/base/auto_thread.h" |
| 16 #include "remoting/client/chromoting_client.h" | 16 #include "remoting/client/chromoting_client.h" |
| 17 #include "remoting/client/client_context.h" | 17 #include "remoting/client/client_context.h" |
| 18 #include "remoting/client/client_user_interface.h" | 18 #include "remoting/client/client_user_interface.h" |
| 19 #include "remoting/client/frame_consumer_proxy.h" | 19 #include "remoting/client/frame_consumer_proxy.h" |
| 20 #include "remoting/client/software_video_renderer.h" | 20 #include "remoting/client/software_video_renderer.h" |
| 21 | |
| 22 #include "remoting/ios/bridge/frame_consumer_bridge.h" | 21 #include "remoting/ios/bridge/frame_consumer_bridge.h" |
| 23 | |
| 24 #include "remoting/jingle_glue/network_settings.h" | |
| 25 #include "remoting/jingle_glue/xmpp_signal_strategy.h" | |
| 26 #include "remoting/protocol/clipboard_stub.h" | 22 #include "remoting/protocol/clipboard_stub.h" |
| 27 #include "remoting/protocol/cursor_shape_stub.h" | 23 #include "remoting/protocol/cursor_shape_stub.h" |
| 24 #include "remoting/protocol/network_settings.h" |
| 25 #include "remoting/signaling/xmpp_signal_strategy.h" |
| 28 | 26 |
| 29 namespace remoting { | 27 namespace remoting { |
| 30 | 28 |
| 31 class ClientProxy; | 29 class ClientProxy; |
| 32 | 30 |
| 33 // ClientUserInterface that indirectly makes and receives OBJ_C calls from the | 31 // ClientUserInterface that indirectly makes and receives OBJ_C calls from the |
| 34 // UI application | 32 // UI application |
| 35 class ClientInstance : public ClientUserInterface, | 33 class ClientInstance : public ClientUserInterface, |
| 36 public protocol::ClipboardStub, | 34 public protocol::ClipboardStub, |
| 37 public protocol::CursorShapeStub, | 35 public protocol::CursorShapeStub, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 scoped_refptr<net::URLRequestContextGetter> url_requester_; | 149 scoped_refptr<net::URLRequestContextGetter> url_requester_; |
| 152 | 150 |
| 153 friend class base::RefCountedThreadSafe<ClientInstance>; | 151 friend class base::RefCountedThreadSafe<ClientInstance>; |
| 154 | 152 |
| 155 DISALLOW_COPY_AND_ASSIGN(ClientInstance); | 153 DISALLOW_COPY_AND_ASSIGN(ClientInstance); |
| 156 }; | 154 }; |
| 157 | 155 |
| 158 } // namespace remoting | 156 } // namespace remoting |
| 159 | 157 |
| 160 #endif // REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ | 158 #endif // REMOTING_IOS_BRIDGE_CLIENT_INSTANCE_H_ |
| OLD | NEW |