| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/sequenced_task_runner_helpers.h" | 15 #include "base/sequenced_task_runner_helpers.h" |
| 16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 #include "webkit/browser/quota/quota_manager.h" | 17 #include "storage/browser/quota/quota_manager.h" |
| 18 #include "webkit/common/quota/quota_types.h" | 18 #include "storage/common/quota/quota_types.h" |
| 19 | 19 |
| 20 namespace quota_internals { | 20 namespace quota_internals { |
| 21 | 21 |
| 22 class QuotaInternalsHandler; | 22 class QuotaInternalsHandler; |
| 23 class GlobalStorageInfo; | 23 class GlobalStorageInfo; |
| 24 class PerHostStorageInfo; | 24 class PerHostStorageInfo; |
| 25 class PerOriginStorageInfo; | 25 class PerOriginStorageInfo; |
| 26 typedef std::map<std::string, std::string> Statistics; | 26 typedef std::map<std::string, std::string> Statistics; |
| 27 | 27 |
| 28 // This class is the bridge between QuotaInternalsHandler and QuotaManager. | 28 // This class is the bridge between QuotaInternalsHandler and QuotaManager. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 std::set<std::pair<std::string, quota::StorageType> > | 81 std::set<std::pair<std::string, quota::StorageType> > |
| 82 hosts_visited_, hosts_pending_; | 82 hosts_visited_, hosts_pending_; |
| 83 std::vector<PerHostStorageInfo> report_pending_; | 83 std::vector<PerHostStorageInfo> report_pending_; |
| 84 base::WeakPtrFactory<QuotaInternalsProxy> weak_factory_; | 84 base::WeakPtrFactory<QuotaInternalsProxy> weak_factory_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsProxy); | 86 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsProxy); |
| 87 }; | 87 }; |
| 88 } // quota_internals | 88 } // quota_internals |
| 89 | 89 |
| 90 #endif // CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ | 90 #endif // CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_PROXY_H_ |
| OLD | NEW |