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

Unified Diff: webkit/quota/quota_manager.h

Issue 10826270: QuotaManager: Return the remaining free disk space as quota. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | webkit/quota/quota_manager.cc » ('j') | webkit/quota/quota_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_manager.h
diff --git a/webkit/quota/quota_manager.h b/webkit/quota/quota_manager.h
index 86e738133fe3985f400d35c603af10f9f3355244..a578b118969e7fbbf1374f0bba3ff32d21da74b9 100644
--- a/webkit/quota/quota_manager.h
+++ b/webkit/quota/quota_manager.h
@@ -207,6 +207,11 @@ class QuotaManager : public QuotaTaskObserver,
protected:
virtual ~QuotaManager();
+ // Returns the available disk space on the disk containing the current
+ // profile. Overridden by the TestQuotaManager in order to have a consistent
+ // reported value.
+ virtual int64 GetAvailableDiskSpace() const;
+
private:
friend class base::DeleteHelper<QuotaManager>;
friend class MockQuotaManager;
« no previous file with comments | « no previous file | webkit/quota/quota_manager.cc » ('j') | webkit/quota/quota_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698