Fix bug preventing crashdump uploads.
[chromium-blink-merge.git] / base / test / test_ui_thread_android.cc
blob6f19974cefda327b18cceaec42f71cf377c5e442
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
3 // found in the LICENSE file.
4 #include "base/test/test_ui_thread_android.h"
6 #include "jni/TestUiThread_jni.h"
8 namespace base {
10 void StartTestUiThreadLooper() {
11 Java_TestUiThread_loop(base::android::AttachCurrentThread());
14 bool RegisterTestUiThreadAndroid(JNIEnv* env) {
15 return RegisterNativesImpl(env);
18 } // namespace base