Chromium Code Reviews| 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. |
|
kinuko
2012/02/09 14:43:33
If we remove the MockQuotaClient's 1st constructor
|
| }; |
| + static const int kAllClientsMask = -1; |
| + |
| virtual ID id() const = 0; |
| // Called when the quota manager is destroyed. |