bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
This commit is contained in:
@@ -571,6 +571,8 @@ public:
|
||||
nsGeoPosition* GeoPosition() { return mGeoPosition; }
|
||||
double Bandwidth() { return mBandwidth; }
|
||||
bool CanBeMetered() { return mCanBeMetered; }
|
||||
bool IsWifi() { return mIsWifi; }
|
||||
int DHCPGateway() { return mDHCPGateway; }
|
||||
short ScreenOrientation() { return mScreenOrientation; }
|
||||
RefCountedJavaObject* ByteBuffer() { return mByteBuffer; }
|
||||
int Width() { return mWidth; }
|
||||
@@ -605,6 +607,8 @@ protected:
|
||||
nsRefPtr<nsGeoPosition> mGeoPosition;
|
||||
double mBandwidth;
|
||||
bool mCanBeMetered;
|
||||
bool mIsWifi;
|
||||
int mDHCPGateway;
|
||||
short mScreenOrientation;
|
||||
nsRefPtr<RefCountedJavaObject> mByteBuffer;
|
||||
int mWidth, mHeight;
|
||||
@@ -670,6 +674,8 @@ protected:
|
||||
|
||||
static jfieldID jBandwidthField;
|
||||
static jfieldID jCanBeMeteredField;
|
||||
static jfieldID jIsWifiField;
|
||||
static jfieldID jDHCPGatewayField;
|
||||
|
||||
static jfieldID jScreenOrientationField;
|
||||
static jfieldID jByteBufferField;
|
||||
|
||||
Reference in New Issue
Block a user