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

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

Issue 2753963002: Refactoring and rewriting the chromoting jni instance to be chromoting session. (Closed)
Patch Set: Updating based on feedback. 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 unified diff | Download patch
« no previous file with comments | « remoting/client/jni/jni_client.cc ('k') | remoting/client/native_device_keymap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_JNI_RUNTIME_DELEGATE_H_ 5 #ifndef REMOTING_CLIENT_JNI_JNI_RUNTIME_DELEGATE_H_
6 #define REMOTING_CLIENT_JNI_JNI_RUNTIME_DELEGATE_H_ 6 #define REMOTING_CLIENT_JNI_JNI_RUNTIME_DELEGATE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 #include "remoting/base/auto_thread.h" 14 #include "remoting/base/auto_thread.h"
15 #include "remoting/base/telemetry_log_writer.h" 15 #include "remoting/base/telemetry_log_writer.h"
16 #include "remoting/client/chromoting_client_runtime.h" 16 #include "remoting/client/chromoting_client_runtime.h"
17 #include "remoting/client/jni/chromoting_jni_instance.h" 17 #include "remoting/client/chromoting_session.h"
18 #include "remoting/protocol/connection_to_host.h" 18 #include "remoting/protocol/connection_to_host.h"
19 19
20 namespace base { 20 namespace base {
21 template <typename T> 21 template <typename T>
22 struct DefaultSingletonTraits; 22 struct DefaultSingletonTraits;
23 } 23 }
24 24
25 namespace remoting { 25 namespace remoting {
26 26
27 bool RegisterJniRuntimeDelegate(JNIEnv* env); 27 bool RegisterJniRuntimeDelegate(JNIEnv* env);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ChromotingClientRuntime* runtime_; 61 ChromotingClientRuntime* runtime_;
62 62
63 friend struct base::DefaultSingletonTraits<JniRuntimeDelegate>; 63 friend struct base::DefaultSingletonTraits<JniRuntimeDelegate>;
64 64
65 DISALLOW_COPY_AND_ASSIGN(JniRuntimeDelegate); 65 DISALLOW_COPY_AND_ASSIGN(JniRuntimeDelegate);
66 }; 66 };
67 67
68 } // namespace remoting 68 } // namespace remoting
69 69
70 #endif // REMOTING_CLIENT_JNI_JNI_RUNTIME_DELEGATE_H_ 70 #endif // REMOTING_CLIENT_JNI_JNI_RUNTIME_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/client/jni/jni_client.cc ('k') | remoting/client/native_device_keymap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698