| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |