summaryrefslogtreecommitdiff
path: root/base/test/test_ui_thread_android.cc
blob: 6f19974cefda327b18cceaec42f71cf377c5e442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test/test_ui_thread_android.h"

#include "jni/TestUiThread_jni.h"

namespace base {

void StartTestUiThreadLooper() {
  Java_TestUiThread_loop(base::android::AttachCurrentThread());
}

bool RegisterTestUiThreadAndroid(JNIEnv* env) {
  return RegisterNativesImpl(env);
}

}  // namespace base