OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/android/build_info.h" | 5 #include "base/android/build_info.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
| 9 #include "base/android/context_utils.h" |
9 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
10 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
11 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
14 #include "jni/BuildInfo_jni.h" | 15 #include "jni/BuildInfo_jni.h" |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
18 // The caller takes ownership of the returned const char*. | 19 // The caller takes ownership of the returned const char*. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 java_exception_info_ = nullptr; | 81 java_exception_info_ = nullptr; |
81 } | 82 } |
82 | 83 |
83 // static | 84 // static |
84 bool BuildInfo::RegisterBindings(JNIEnv* env) { | 85 bool BuildInfo::RegisterBindings(JNIEnv* env) { |
85 return RegisterNativesImpl(env); | 86 return RegisterNativesImpl(env); |
86 } | 87 } |
87 | 88 |
88 } // namespace android | 89 } // namespace android |
89 } // namespace base | 90 } // namespace base |
OLD | NEW |