summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:48:15 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:48:15 +0000
commite31aab1840df828c907d32b41cc61b024e12e132 (patch)
treeb3e457e98d478a8d6b37bfaedc516f933ff41225 /net/disk_cache/backend_impl.h
parentdf9fd0d0bfef305243b90b193a6211ae64193fd5 (diff)
downloadchromium_src-e31aab1840df828c907d32b41cc61b024e12e132.zip
chromium_src-e31aab1840df828c907d32b41cc61b024e12e132.tar.gz
chromium_src-e31aab1840df828c907d32b41cc61b024e12e132.tar.bz2
Disk cache: Enable the code that sets the max size automatically.
(still limiting the ceiling). Review URL: http://codereview.chromium.org/68007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r--net/disk_cache/backend_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index b1b6478..1960125 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -247,6 +247,9 @@ class BackendImpl : public Backend {
DISALLOW_EVIL_CONSTRUCTORS(BackendImpl);
};
+// Returns the prefered max cache size given the available disk space.
+int PreferedCacheSize(int64 available);
+
} // namespace disk_cache
#endif // NET_DISK_CACHE_BACKEND_IMPL_H_