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 #include "content/browser/renderer_host/java/gin_java_bound_object.h" | 5 #include "content/browser/android/java/gin_java_bound_object.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "content/browser/renderer_host/java/jni_helper.h" | 11 #include "content/browser/android/java/jni_helper.h" |
12 | 12 |
13 using base::android::AttachCurrentThread; | 13 using base::android::AttachCurrentThread; |
14 using base::android::ScopedJavaLocalRef; | 14 using base::android::ScopedJavaLocalRef; |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 const char kJavaLangClass[] = "java/lang/Class"; | 20 const char kJavaLangClass[] = "java/lang/Class"; |
21 const char kJavaLangObject[] = "java/lang/Object"; | 21 const char kJavaLangObject[] = "java/lang/Object"; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 if (!safe) | 183 if (!safe) |
184 continue; | 184 continue; |
185 } | 185 } |
186 | 186 |
187 JavaMethod* method = new JavaMethod(java_method); | 187 JavaMethod* method = new JavaMethod(java_method); |
188 methods_.insert(std::make_pair(method->name(), method)); | 188 methods_.insert(std::make_pair(method->name(), method)); |
189 } | 189 } |
190 } | 190 } |
191 | 191 |
192 } // namespace content | 192 } // namespace content |
OLD | NEW |