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

Side by Side Diff: remoting/client/jni/chromoting_jni_instance.h

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ 5 #ifndef REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ 6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "remoting/client/chromoting_client.h" 15 #include "remoting/client/chromoting_client.h"
16 #include "remoting/client/client_context.h" 16 #include "remoting/client/client_context.h"
17 #include "remoting/client/client_user_interface.h" 17 #include "remoting/client/client_user_interface.h"
18 #include "remoting/proto/control.pb.h" 18 #include "remoting/proto/control.pb.h"
19 #include "remoting/proto/event.pb.h" 19 #include "remoting/proto/event.pb.h"
20 #include "remoting/protocol/clipboard_stub.h" 20 #include "remoting/protocol/clipboard_stub.h"
21 #include "remoting/protocol/cursor_shape_stub.h" 21 #include "remoting/protocol/cursor_shape_stub.h"
22 #include "remoting/signaling/xmpp_signal_strategy.h" 22 #include "remoting/signaling/xmpp_signal_strategy.h"
23 23
24 namespace remoting { 24 namespace remoting {
25 25
26 namespace protocol { 26 namespace protocol {
27 class ClipboardEvent; 27 class ClipboardEvent;
28 class CursorShapeInfo;
29 class PerformanceTracker; 28 class PerformanceTracker;
30 class FrameConsumer;
31 class VideoRenderer; 29 class VideoRenderer;
32 } // namespace protocol 30 } // namespace protocol
33 31
34 class AudioPlayerAndroid; 32 class AudioPlayerAndroid;
35 class ChromotingJniRuntime; 33 class ChromotingJniRuntime;
36 class JniClient; 34 class JniClient;
37 class DisplayHandler;
38 class JniPairingSecretFetcher; 35 class JniPairingSecretFetcher;
39 36
40 // ChromotingJniInstance is scoped to the session. 37 // ChromotingJniInstance is scoped to the session.
41 // This class is Created on the UI thread but thereafter it is used and 38 // This class is Created on the UI thread but thereafter it is used and
42 // destroyed on the network thread. Except where indicated, all methods are 39 // destroyed on the network thread. Except where indicated, all methods are
43 // called on the network thread. 40 // called on the network thread.
44 class ChromotingJniInstance 41 class ChromotingJniInstance
45 : public ClientUserInterface, 42 : public ClientUserInterface,
46 public protocol::ClipboardStub { 43 public protocol::ClipboardStub {
47 public: 44 public:
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 199
203 base::WeakPtr<ChromotingJniInstance> weak_ptr_; 200 base::WeakPtr<ChromotingJniInstance> weak_ptr_;
204 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_; 201 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_;
205 202
206 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); 203 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance);
207 }; 204 };
208 205
209 } // namespace remoting 206 } // namespace remoting
210 207
211 #endif // REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ 208 #endif // REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/bridge/client_instance.h ('k') | remoting/client/jni/jni_gl_display_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698