The chrome stack used to just declare the needed jni functions from
webkit and use them as they were static linked. This is not possible
when built as a shared library.
Change-Id: I1c81bc8c8e840dfda49e3941dc5a74d129030f43
#endif
#include <android/net/android_network_library_impl.h>
+#include <android/jni/jni_utils.h>
#include <base/callback.h>
#include <base/memory/ref_counted.h>
#include <base/message_loop_proxy.h>
#include "ChromiumInit.h"
#include "ChromiumIncludes.h"
+#include "JNIUtility.h"
+#include "jni.h"
#include <cutils/log.h>
#include <string>
networkChangeNotifier.reset(net::NetworkChangeNotifier::Create());
net::HttpNetworkLayer::EnableSpdy("npn");
initCalled = true;
+ jni::SetJavaVM(JSC::Bindings::getJavaVM());
}
}