Index: chrome/browser/ui/webui/quota_internals_proxy.h |
diff --git a/chrome/browser/ui/webui/quota_internals_proxy.h b/chrome/browser/ui/webui/quota_internals_proxy.h |
index ebc613b5d391d7e9aeaad7650fa88102cff8a7fd..fd9286509f2473a2019382d2f4abb93df70c18e7 100644 |
--- a/chrome/browser/ui/webui/quota_internals_proxy.h |
+++ b/chrome/browser/ui/webui/quota_internals_proxy.h |
@@ -13,7 +13,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/message_loop_helpers.h" |
+#include "base/sequenced_task_runner_helpers.h" |
#include "content/public/browser/browser_thread.h" |
#include "webkit/quota/quota_manager.h" |
#include "webkit/quota/quota_types.h" |
@@ -35,14 +35,20 @@ class QuotaInternalsProxy |
content::BrowserThread::DeleteOnIOThread> { |
public: |
explicit QuotaInternalsProxy(QuotaInternalsHandler* handler); |
- ~QuotaInternalsProxy(); |
void RequestInfo(scoped_refptr<quota::QuotaManager> quota_manager); |
private: |
+ friend class base::DeleteHelper<QuotaInternalsProxy>; |
+ friend struct content::BrowserThread::DeleteOnThread< |
+ content::BrowserThread::IO>; |
+ friend class QuotaInternalsHandler; |
+ |
typedef quota::QuotaManager::QuotaTableEntries QuotaTableEntries; |
typedef quota::QuotaManager::OriginInfoTableEntries OriginInfoTableEntries; |
+ virtual ~QuotaInternalsProxy(); |
+ |
void ReportAvailableSpace(int64 available_space); |
void ReportGlobalInfo(const GlobalStorageInfo& data); |
void ReportPerHostInfo(const std::vector<PerHostStorageInfo>& hosts); |
@@ -78,11 +84,6 @@ class QuotaInternalsProxy |
hosts_visited_, hosts_pending_; |
std::vector<PerHostStorageInfo> report_pending_; |
- friend class QuotaInternalsHandler; |
- friend struct content::BrowserThread::DeleteOnThread< |
- content::BrowserThread::IO>; |
- friend class base::DeleteHelper<QuotaInternalsProxy>; |
- |
DISALLOW_COPY_AND_ASSIGN(QuotaInternalsProxy); |
}; |
} // quota_internals |