Index: webkit/browser/quota/quota_manager.h |
diff --git a/webkit/browser/quota/quota_manager.h b/webkit/browser/quota/quota_manager.h |
index 5481b2094d725a3c58c8e4152af9738abd6dfb66..064d548b6744aa752a53be6495c8ae6d24e63bf6 100644 |
--- a/webkit/browser/quota/quota_manager.h |
+++ b/webkit/browser/quota/quota_manager.h |
@@ -434,52 +434,6 @@ struct QuotaManagerDeleter { |
} |
}; |
-// The proxy may be called and finally released on any thread. |
-class WEBKIT_STORAGE_BROWSER_EXPORT QuotaManagerProxy |
- : public base::RefCountedThreadSafe<QuotaManagerProxy> { |
- public: |
- typedef QuotaManager::GetUsageAndQuotaCallback |
- GetUsageAndQuotaCallback; |
- |
- virtual void RegisterClient(QuotaClient* client); |
- virtual void NotifyStorageAccessed(QuotaClient::ID client_id, |
- const GURL& origin, |
- StorageType type); |
- virtual void NotifyStorageModified(QuotaClient::ID client_id, |
- const GURL& origin, |
- StorageType type, |
- int64 delta); |
- virtual void NotifyOriginInUse(const GURL& origin); |
- virtual void NotifyOriginNoLongerInUse(const GURL& origin); |
- |
- virtual void SetUsageCacheEnabled(QuotaClient::ID client_id, |
- const GURL& origin, |
- StorageType type, |
- bool enabled); |
- virtual void GetUsageAndQuota( |
- base::SequencedTaskRunner* original_task_runner, |
- const GURL& origin, |
- StorageType type, |
- const GetUsageAndQuotaCallback& callback); |
- |
- // This method may only be called on the IO thread. |
- // It may return NULL if the manager has already been deleted. |
- QuotaManager* quota_manager() const; |
- |
- protected: |
- friend class QuotaManager; |
- friend class base::RefCountedThreadSafe<QuotaManagerProxy>; |
- |
- QuotaManagerProxy(QuotaManager* manager, |
- base::SingleThreadTaskRunner* io_thread); |
- virtual ~QuotaManagerProxy(); |
- |
- QuotaManager* manager_; // only accessed on the io thread |
- scoped_refptr<base::SingleThreadTaskRunner> io_thread_; |
- |
- DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); |
-}; |
- |
} // namespace quota |
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ |