| 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/jni_android.h" | 5 #include "base/android/jni_android.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <map> | 9 #include <map> |
| 8 | 10 |
| 9 #include "base/android/build_info.h" | 11 #include "base/android/build_info.h" |
| 10 #include "base/android/jni_string.h" | 12 #include "base/android/jni_string.h" |
| 11 #include "base/android/jni_utils.h" | 13 #include "base/android/jni_utils.h" |
| 12 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
| 13 #include "base/logging.h" | 15 #include "base/logging.h" |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 using base::android::GetClass; | 18 using base::android::GetClass; |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 env, static_cast<jstring>( | 275 env, static_cast<jstring>( |
| 274 env->CallObjectMethod(bytearray_output_stream.obj(), | 276 env->CallObjectMethod(bytearray_output_stream.obj(), |
| 275 bytearray_output_stream_tostring))); | 277 bytearray_output_stream_tostring))); |
| 276 | 278 |
| 277 return ConvertJavaStringToUTF8(exception_string); | 279 return ConvertJavaStringToUTF8(exception_string); |
| 278 } | 280 } |
| 279 | 281 |
| 280 | 282 |
| 281 } // namespace android | 283 } // namespace android |
| 282 } // namespace base | 284 } // namespace base |
| OLD | NEW |