This source file includes following definitions.
- JNINamespace
- destroy
- setRemoteDebuggingEnabled
- nativeInitRemoteDebugging
- nativeDestroyRemoteDebugging
- nativeSetRemoteDebuggingEnabled
package org.chromium.android_webview;
import org.chromium.base.JNINamespace;
@JNINamespace("android_webview")
public class AwDevToolsServer {
private long mNativeDevToolsServer = 0;
public AwDevToolsServer() {
mNativeDevToolsServer = nativeInitRemoteDebugging();
}
public void destroy() {
nativeDestroyRemoteDebugging(mNativeDevToolsServer);
mNativeDevToolsServer = 0;
}
public void setRemoteDebuggingEnabled(boolean enabled) {
nativeSetRemoteDebuggingEnabled(mNativeDevToolsServer, enabled);
}
private native long nativeInitRemoteDebugging();
private native void nativeDestroyRemoteDebugging(long devToolsServer);
private native void nativeSetRemoteDebuggingEnabled(long devToolsServer, boolean enabled);
}