Bug 1637452: Part 7 - Fix JNI includes in netwerk; r=necko-reviewers,valentin

In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75370
This commit is contained in:
Aaron Klotz 2020-05-15 17:04:32 +00:00
parent 0a7f85c73b
commit 53710190f5
3 changed files with 6 additions and 1 deletions

View File

@ -12,8 +12,8 @@
# include "nsThreadUtils.h"
# include "prnetdb.h"
# include "mozilla/java/GeckoAppShellWrappers.h"
# include "mozilla/jni/Utils.h"
# include "GeneratedJNIWrappers.h"
namespace mozilla {
namespace net {

View File

@ -26,6 +26,10 @@
# include "mozilla/dom/BrowserParent.h"
# include "mozilla/net/WebrtcTCPSocketParent.h"
#endif
#if defined(MOZ_WIDGET_ANDROID)
# include "mozilla/java/GeckoProcessManagerWrappers.h"
# include "mozilla/java/GeckoProcessTypeWrappers.h"
#endif // defined(MOZ_WIDGET_ANDROID)
namespace mozilla {
namespace net {

View File

@ -13,6 +13,7 @@
#include "mozilla/Logging.h"
#include "AndroidBridge.h"
#include "mozilla/java/GeckoAppShellWrappers.h"
namespace java = mozilla::java;