1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef AndroidUiThread_h__
7 #define AndroidUiThread_h__
9 #include <mozilla/RefPtr.h>
16 void CreateAndroidUiThread();
17 void DestroyAndroidUiThread();
18 int64_t RunAndroidUiTasks();
20 MessageLoop
* GetAndroidUiThreadMessageLoop();
21 RefPtr
<nsThread
> GetAndroidUiThread();
23 } // namespace mozilla
25 #endif // AndroidUiThread_h__