OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "android_webview/native/aw_debug.h" | 5 #include "android_webview/browser/aw_debug.h" |
6 | 6 |
7 #include "android_webview/common/crash_reporter/aw_microdump_crash_reporter.h" | 7 #include "android_webview/common/crash_reporter/aw_microdump_crash_reporter.h" |
8 #include "android_webview/common/crash_reporter/crash_keys.h" | 8 #include "android_webview/common/crash_reporter/crash_keys.h" |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
11 #include "base/debug/crash_logging.h" | 11 #include "base/debug/crash_logging.h" |
12 #include "base/debug/dump_without_crashing.h" | 12 #include "base/debug/dump_without_crashing.h" |
13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/threading/thread_restrictions.h" | 15 #include "base/threading/thread_restrictions.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 const JavaParamRef<jstring>& value) { | 49 const JavaParamRef<jstring>& value) { |
50 base::debug::SetCrashKeyValue(ConvertJavaStringToUTF8(env, key), | 50 base::debug::SetCrashKeyValue(ConvertJavaStringToUTF8(env, key), |
51 ConvertJavaStringToUTF8(env, value)); | 51 ConvertJavaStringToUTF8(env, value)); |
52 } | 52 } |
53 | 53 |
54 bool RegisterAwDebug(JNIEnv* env) { | 54 bool RegisterAwDebug(JNIEnv* env) { |
55 return RegisterNativesImpl(env); | 55 return RegisterNativesImpl(env); |
56 } | 56 } |
57 | 57 |
58 } // namespace android_webview | 58 } // namespace android_webview |
OLD | NEW |