summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 22:03:13 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 22:03:13 +0000
commit1889dc1b1226cac60273a2e28ad36e019292be21 (patch)
tree0cc002bbc9b22ef7a2b34a7f114b79463a02c8d7 /webkit/fileapi
parent19d9f3aa28eb43ba6c7e016536c2ddcba420bb3f (diff)
downloadchromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.zip
chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.gz
chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.bz2
FBTF: More ctor/dtor cleanup.
(3.5 megs off debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3806005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi')
-rw-r--r--webkit/fileapi/file_system_quota.cc4
-rw-r--r--webkit/fileapi/file_system_quota.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_quota.cc b/webkit/fileapi/file_system_quota.cc
index eb69beb..7133082 100644
--- a/webkit/fileapi/file_system_quota.cc
+++ b/webkit/fileapi/file_system_quota.cc
@@ -13,6 +13,10 @@ namespace fileapi {
const int64 FileSystemQuota::kUnknownSize = -1;
+FileSystemQuota::FileSystemQuota() {}
+
+FileSystemQuota::~FileSystemQuota() {}
+
bool FileSystemQuota::CheckOriginQuota(const GURL& origin, int64) {
return CheckIfOriginGrantedUnlimitedQuota(origin);
}
diff --git a/webkit/fileapi/file_system_quota.h b/webkit/fileapi/file_system_quota.h
index 80888ed1..9b77c9b 100644
--- a/webkit/fileapi/file_system_quota.h
+++ b/webkit/fileapi/file_system_quota.h
@@ -16,9 +16,11 @@ namespace fileapi {
// and just allows unlimited quota for apps.
class FileSystemQuota {
public:
- FileSystemQuota() { }
static const int64 kUnknownSize;
+ FileSystemQuota();
+ ~FileSystemQuota();
+
// Checks if the origin can grow its usage by |growth| bytes.
// This only performs in-memory check and returns immediately.
// For now it just returns false for any origins (regardless of the size)