summaryrefslogtreecommitdiffstats
path: root/webkit/quota
diff options
context:
space:
mode:
authormnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 19:43:23 +0000
committermnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 19:43:23 +0000
commit7eb401fdc081ad4854b52dae8da901279acbc102 (patch)
tree3d6ba557bebf26b02976bf911e025571d6296b88 /webkit/quota
parent9f9749a4eafd3f250b31551cdd453465dbf35534 (diff)
downloadchromium_src-7eb401fdc081ad4854b52dae8da901279acbc102.zip
chromium_src-7eb401fdc081ad4854b52dae8da901279acbc102.tar.gz
chromium_src-7eb401fdc081ad4854b52dae8da901279acbc102.tar.bz2
Change quota::QuotaClient::kAllClientsMask to be an enum.
By the standard, static constants should also have a definition counterpart to allocate storage space. It's not strictly necessary for ints (but it puts usage restrictions on them), and for some reason we are having linking failure on Chrome on Android when building with clang compiler, maybe that's because of using templates or perhaps it's a clang issue. Anyway, converting this constant into an enum solves the problem. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9585014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/quota')
-rw-r--r--webkit/quota/quota_client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h
index 06c4ceb..a91348d 100644
--- a/webkit/quota/quota_client.h
+++ b/webkit/quota/quota_client.h
@@ -35,10 +35,9 @@ class QuotaClient {
kDatabase = 1 << 2,
kAppcache = 1 << 3,
kIndexedDatabase = 1 << 4,
+ kAllClientsMask = -1,
};
- static const int kAllClientsMask = -1;
-
virtual ID id() const = 0;
// Called when the quota manager is destroyed.