exception_filter.cc 559 B

1234567891011121314151617
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "weblayer/browser/android/exception_filter.h"
  5. #include "weblayer/browser/java/jni/WebLayerExceptionFilter_jni.h"
  6. namespace weblayer {
  7. bool WebLayerJavaExceptionFilter(
  8. const base::android::JavaRef<jthrowable>& throwable) {
  9. return Java_WebLayerExceptionFilter_stackTraceContainsWebLayerCode(
  10. base::android::AttachCurrentThread(), throwable);
  11. }
  12. } // namespace weblayer