Bug 1252650 - Update generated JNI bindings; r=me
authorJim Chen <nchen@mozilla.com>
Wed, 20 Apr 2016 15:06:13 -0400
changeset 294085 ca46a5d6f50d85924e59a63a189b17ee49510975
parent 294084 3f76b4e1d805b0771b097bbd8746271e046ada61
child 294086 3fc77a3172823ddddf2646c8bb4325f9063cb346
push id75428
push usernchen@mozilla.com
push dateWed, 20 Apr 2016 19:07:08 +0000
treeherdermozilla-inbound@f69911bd0bc2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1252650
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1252650 - Update generated JNI bindings; r=me
widget/android/GeneratedJNINatives.h
widget/android/GeneratedJNIWrappers.cpp
widget/android/GeneratedJNIWrappers.h
--- a/widget/android/GeneratedJNINatives.h
+++ b/widget/android/GeneratedJNINatives.h
@@ -192,16 +192,20 @@ template<class Impl>
 constexpr JNINativeMethod GeckoSmsManager::Natives<Impl>::methods[];
 
 template<class Impl>
 class GeckoThread::Natives : public mozilla::jni::NativeImpl<GeckoThread, Impl>
 {
 public:
     static constexpr JNINativeMethod methods[] = {
 
+        mozilla::jni::MakeNativeMethod<GeckoThread::CreateServices_t>(
+                mozilla::jni::NativeStub<GeckoThread::CreateServices_t, Impl>
+                ::template Wrap<&Impl::CreateServices>),
+
         mozilla::jni::MakeNativeMethod<GeckoThread::OnPause_t>(
                 mozilla::jni::NativeStub<GeckoThread::OnPause_t, Impl>
                 ::template Wrap<&Impl::OnPause>),
 
         mozilla::jni::MakeNativeMethod<GeckoThread::OnResume_t>(
                 mozilla::jni::NativeStub<GeckoThread::OnResume_t, Impl>
                 ::template Wrap<&Impl::OnResume>),
 
--- a/widget/android/GeneratedJNIWrappers.cpp
+++ b/widget/android/GeneratedJNIWrappers.cpp
@@ -932,16 +932,19 @@ template<> const char mozilla::jni::Cont
 constexpr char GeckoThread::CheckAndSetState_t::name[];
 constexpr char GeckoThread::CheckAndSetState_t::signature[];
 
 auto GeckoThread::CheckAndSetState(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) -> bool
 {
     return mozilla::jni::Method<CheckAndSetState_t>::Call(GeckoThread::Context(), nullptr, a0, a1);
 }
 
+constexpr char GeckoThread::CreateServices_t::name[];
+constexpr char GeckoThread::CreateServices_t::signature[];
+
 constexpr char GeckoThread::OnPause_t::name[];
 constexpr char GeckoThread::OnPause_t::signature[];
 
 constexpr char GeckoThread::OnResume_t::name[];
 constexpr char GeckoThread::OnResume_t::signature[];
 
 constexpr char GeckoThread::PumpMessageLoop_t::name[];
 constexpr char GeckoThread::PumpMessageLoop_t::signature[];
--- a/widget/android/GeneratedJNIWrappers.h
+++ b/widget/android/GeneratedJNIWrappers.h
@@ -2214,16 +2214,30 @@ public:
                 "(Lorg/mozilla/gecko/GeckoThread$State;Lorg/mozilla/gecko/GeckoThread$State;)Z";
         static const bool isStatic = true;
         static const mozilla::jni::ExceptionMode exceptionMode =
                 mozilla::jni::ExceptionMode::ABORT;
     };
 
     static auto CheckAndSetState(mozilla::jni::Object::Param, mozilla::jni::Object::Param) -> bool;
 
+    struct CreateServices_t {
+        typedef GeckoThread Owner;
+        typedef void ReturnType;
+        typedef void SetterType;
+        typedef mozilla::jni::Args<
+                mozilla::jni::String::Param> Args;
+        static constexpr char name[] = "nativeCreateServices";
+        static constexpr char signature[] =
+                "(Ljava/lang/String;)V";
+        static const bool isStatic = true;
+        static const mozilla::jni::ExceptionMode exceptionMode =
+                mozilla::jni::ExceptionMode::ABORT;
+    };
+
     struct OnPause_t {
         typedef GeckoThread Owner;
         typedef void ReturnType;
         typedef void SetterType;
         typedef mozilla::jni::Args<> Args;
         static constexpr char name[] = "nativeOnPause";
         static constexpr char signature[] =
                 "()V";