Methods Summary |
---|
public void | deleteAllData()
mQuotaManagerBridge.deleteAllData();
|
public void | deleteOrigin(java.lang.String origin)
mQuotaManagerBridge.deleteOrigin(origin);
|
public void | getOrigins(android.webkit.ValueCallback callback)
mQuotaManagerBridge.getOrigins(new ValueCallback<AwQuotaManagerBridge.Origins>() {
@Override
public void onReceiveValue(AwQuotaManagerBridge.Origins origins) {
Map<String, Origin> originsMap = new HashMap<String, Origin>();
for (int i = 0; i < origins.mOrigins.length; ++i) {
Origin origin = new Origin(origins.mOrigins[i], origins.mQuotas[i],
origins.mUsages[i]) {
// Intentionally empty to work around cross-package protected visibility
// of Origin constructor.
};
originsMap.put(origins.mOrigins[i], origin);
}
callback.onReceiveValue(originsMap);
}
});
|
public void | getQuotaForOrigin(java.lang.String origin, android.webkit.ValueCallback callback)
mQuotaManagerBridge.getQuotaForOrigin(origin, callback);
|
public void | getUsageForOrigin(java.lang.String origin, android.webkit.ValueCallback callback)
mQuotaManagerBridge.getUsageForOrigin(origin, callback);
|
public void | setQuotaForOrigin(java.lang.String origin, long quota)
// Intentional no-op for deprecated method.
|