Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1951)

Unified Diff: android_webview/browser/aw_quota_permission_context.cc

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation mostly done. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..422a344437b993a3235ecf3668afc165f00588ee 100644
--- a/android_webview/browser/aw_quota_permission_context.cc
+++ b/android_webview/browser/aw_quota_permission_context.cc
@@ -23,14 +23,7 @@ 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);
- }
+ callback.Run(QUOTA_PERMISSION_RESPONSE_DISALLOW);
boliu 2013/02/16 03:55:15 This path is only used for PERSISTENT storage, so
mkosiba (inactive) 2013/02/19 11:37:13 maybe add a comment later on with that justificati
boliu 2013/02/20 00:53:50 Done.
}
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698