| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
| 6 #define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 6 #define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 StorageType type, | 390 StorageType type, |
| 391 bool is_eviction); | 391 bool is_eviction); |
| 392 | 392 |
| 393 void DidOriginDataEvicted(QuotaStatusCode status); | 393 void DidOriginDataEvicted(QuotaStatusCode status); |
| 394 | 394 |
| 395 void ReportHistogram(); | 395 void ReportHistogram(); |
| 396 void DidGetTemporaryGlobalUsageForHistogram(int64_t usage, | 396 void DidGetTemporaryGlobalUsageForHistogram(int64_t usage, |
| 397 int64_t unlimited_usage); | 397 int64_t unlimited_usage); |
| 398 void DidGetPersistentGlobalUsageForHistogram(int64_t usage, | 398 void DidGetPersistentGlobalUsageForHistogram(int64_t usage, |
| 399 int64_t unlimited_usage); | 399 int64_t unlimited_usage); |
| 400 void DidDumpOriginInfoTableForHistogram( |
| 401 const OriginInfoTableEntries& entries); |
| 400 | 402 |
| 401 std::set<GURL> GetEvictionOriginExceptions( | 403 std::set<GURL> GetEvictionOriginExceptions( |
| 402 const std::set<GURL>& extra_exceptions); | 404 const std::set<GURL>& extra_exceptions); |
| 403 void DidGetEvictionOrigin(const GetOriginCallback& callback, | 405 void DidGetEvictionOrigin(const GetOriginCallback& callback, |
| 404 const GURL& origin); | 406 const GURL& origin); |
| 405 | 407 |
| 406 // QuotaEvictionHandler. | 408 // QuotaEvictionHandler. |
| 407 void GetEvictionOrigin(StorageType type, | 409 void GetEvictionOrigin(StorageType type, |
| 408 const std::set<GURL>& extra_exceptions, | 410 const std::set<GURL>& extra_exceptions, |
| 409 int64_t global_quota, | 411 int64_t global_quota, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 516 |
| 515 struct QuotaManagerDeleter { | 517 struct QuotaManagerDeleter { |
| 516 static void Destruct(const QuotaManager* manager) { | 518 static void Destruct(const QuotaManager* manager) { |
| 517 manager->DeleteOnCorrectThread(); | 519 manager->DeleteOnCorrectThread(); |
| 518 } | 520 } |
| 519 }; | 521 }; |
| 520 | 522 |
| 521 } // namespace storage | 523 } // namespace storage |
| 522 | 524 |
| 523 #endif // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 525 #endif // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
| OLD | NEW |