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_CHROMOTING_JNI_RUNTIME_H_ | 5 #ifndef REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_H_ |
6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_H_ | 6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_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 "net/url_request/url_request_context_getter.h" | 13 #include "net/url_request/url_request_context_getter.h" |
13 #include "remoting/base/auto_thread.h" | 14 #include "remoting/base/auto_thread.h" |
14 #include "remoting/client/jni/chromoting_jni_instance.h" | 15 #include "remoting/client/jni/chromoting_jni_instance.h" |
15 #include "remoting/protocol/connection_to_host.h" | 16 #include "remoting/protocol/connection_to_host.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 template<typename T> struct DefaultSingletonTraits; | 19 template<typename T> struct DefaultSingletonTraits; |
19 } | 20 } |
20 | 21 |
21 namespace remoting { | 22 namespace remoting { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 scoped_refptr<ChromotingJniInstance> session_; | 139 scoped_refptr<ChromotingJniInstance> session_; |
139 | 140 |
140 friend struct base::DefaultSingletonTraits<ChromotingJniRuntime>; | 141 friend struct base::DefaultSingletonTraits<ChromotingJniRuntime>; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(ChromotingJniRuntime); | 143 DISALLOW_COPY_AND_ASSIGN(ChromotingJniRuntime); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace remoting | 146 } // namespace remoting |
146 | 147 |
147 #endif | 148 #endif |
OLD | NEW |