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

Unified Diff: webkit/database/database_quota_client.cc

Issue 7003021: Added DeleteOriginData to QuotaClient (Closed)
Patch Set: Rebased Created 9 years, 7 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: webkit/database/database_quota_client.cc
diff --git a/webkit/database/database_quota_client.cc b/webkit/database/database_quota_client.cc
index 4f3da017491e4f89afaf46b0066ed6b0ce11c056..91f7949ecd5dc51096608ce4dbf7dd314ddd589b 100644
--- a/webkit/database/database_quota_client.cc
+++ b/webkit/database/database_quota_client.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <vector>
kinuko 2011/05/16 06:18:53 style-nit: This must be after "webkit/database/dat
tzik (google) 2011/05/16 07:47:01 Done.
+
#include "webkit/database/database_quota_client.h"
#include "base/message_loop_proxy.h"
@@ -198,6 +200,14 @@ void DatabaseQuotaClient::GetOriginsForHost(
}
}
+void DatabaseQuotaClient::DeleteOriginData(const GURL& origin,
+ quota::StorageType type,
+ DeletionCallback* callback) {
+ // TODO(tzik): implement me
+ callback->Run(quota::kQuotaErrorNotSupported);
+ delete callback;
+}
+
void DatabaseQuotaClient::DidGetOriginUsage(
const GURL& origin_url, int64 usage) {
DCHECK(usage_for_origin_callbacks_.HasCallbacks(origin_url));

Powered by Google App Engine
This is Rietveld 408576698