| Index: base/test/test_ui_thread_android.cc
|
| diff --git a/base/test/test_ui_thread_android.cc b/base/test/test_ui_thread_android.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6f19974cefda327b18cceaec42f71cf377c5e442
|
| --- /dev/null
|
| +++ b/base/test/test_ui_thread_android.cc
|
| @@ -0,0 +1,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
|
|
|