1 /* -*- Mode: c++; c-basic-offset: 2; tab-width: 20; indent-tabs-mode: nil; -*-
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 WebExecutorSupport_h__
7 #define WebExecutorSupport_h__
9 #include "GeneratedJNINatives.h"
14 class WebExecutorSupport final
15 : public java::GeckoWebExecutor::Natives
<WebExecutorSupport
> {
17 static void Fetch(jni::Object::Param request
, int32_t flags
,
18 jni::Object::Param result
);
19 static void Resolve(jni::String::Param aUri
, jni::Object::Param result
);
22 static nsresult
CreateStreamLoader(java::WebRequest::Param aRequest
,
24 java::GeckoResult::Param aResult
);
28 } // namespace mozilla
30 #endif // WebExecutorSupport_h__