Index: android_webview/browser/aw_quota_permission_context.cc |
diff --git a/android_webview/browser/aw_quota_permission_context.cc b/android_webview/browser/aw_quota_permission_context.cc |
index ce3a2c34945c2f351fc6ec17ec22ee94b88c02ad..7820f08744aef6511ea5c82ce7fbe5d82446d840 100644 |
--- a/android_webview/browser/aw_quota_permission_context.cc |
+++ b/android_webview/browser/aw_quota_permission_context.cc |
@@ -23,14 +23,10 @@ void AwQuotaPermissionContext::RequestQuotaPermission( |
int render_process_id, |
int render_view_id, |
const PermissionCallback& callback) { |
- if (type != quota::kStorageTypePersistent) { |
- callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW); |
- } else { |
- // TODO(boliu): Implement this to power |
- // WebChromeClient.onExceededDatabaseQuota |
- NOTIMPLEMENTED(); |
- callback.Run(QUOTA_PERMISSION_RESPONSE_CANCELLED); |
- } |
+ // Android WebView only uses quota::kStorageTypeTemporary tyep of storage |
mnaganov (inactive)
2013/02/20 09:29:03
nit: "tyep"
boliu
2013/02/20 20:14:16
Done.
|
+ // with quota managed automatically, not through this interface. Therefore |
+ // unconditionally disallow all quota requests here. |
+ callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW); |
} |
} // namespace android_webview |