| Index: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java
|
| index ff0e9ba9303a0983026a2ddabbe26ef2e65e6040..1386f006f05d7fa1d9095bdf5007751a8865decd 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/DeviceConditions.java
|
| @@ -22,17 +22,19 @@ public class DeviceConditions {
|
| mNetConnectionType = netConnectionType;
|
| }
|
|
|
| + /** @return Whether power is connected. */
|
| public boolean isPowerConnected() {
|
| return mPowerConnected;
|
| }
|
|
|
| + /** @return Battery percentage. */
|
| public int getBatteryPercentage() {
|
| return mBatteryPercentage;
|
| }
|
|
|
| /**
|
| - * Returns the Chromium enum value for the network connection type. Connection type values are
|
| - * defined in org.chromium.net.ConnectionType.
|
| + * @return Network connection type, where possible values are defined by
|
| + * org.chromium.net.ConnectionType.
|
| */
|
| public int getNetConnectionType() {
|
| return mNetConnectionType;
|
|
|