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

Unified Diff: webkit/quota/quota_client.h

Issue 7839029: QuotaManager::DeleteOriginData now allows deletion of specific QuotaClients (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Kinuko's feedback (modulo kMockStart) Created 8 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
« no previous file with comments | « webkit/quota/mock_storage_client.cc ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_client.h
diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h
index eb26c245f26ca9ff56f8c0dac84a1760e8d9e4fc..ab870c28627c90f2cceb22245c704781f879251f 100644
--- a/webkit/quota/quota_client.h
+++ b/webkit/quota/quota_client.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -30,14 +30,16 @@ class QuotaClient {
virtual ~QuotaClient() {}
enum ID {
- kUnknown,
- kFileSystem,
- kDatabase,
- kAppcache,
- kIndexedDatabase,
- kMockStart, // This needs to be the end of the enum.
+ kUnknown = 1 << 0,
+ kFileSystem = 1 << 1,
+ kDatabase = 1 << 2,
+ kAppcache = 1 << 3,
+ kIndexedDatabase = 1 << 4,
+ kMockStart = 1 << 5, // This needs to be the end of the enum.
};
+ static const int kAllClientsMask = -1;
+
virtual ID id() const = 0;
// Called when the quota manager is destroyed.
« no previous file with comments | « webkit/quota/mock_storage_client.cc ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698