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

Unified Diff: content/public/test/mock_special_storage_policy.h

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 10 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
Index: content/public/test/mock_special_storage_policy.h
diff --git a/content/public/test/mock_special_storage_policy.h b/content/public/test/mock_special_storage_policy.h
index 96003e8c12f8517c457927e9a288645d3e918738..b4a2a6c1829fb411f50c6b2e0e88c010144a45b9 100644
--- a/content/public/test/mock_special_storage_policy.h
+++ b/content/public/test/mock_special_storage_policy.h
@@ -22,7 +22,6 @@ class MockSpecialStoragePolicy : public storage::SpecialStoragePolicy {
bool IsStorageProtected(const GURL& origin) override;
bool IsStorageUnlimited(const GURL& origin) override;
bool IsStorageSessionOnly(const GURL& origin) override;
- bool CanQueryDiskSize(const GURL& origin) override;
bool HasIsolatedStorage(const GURL& origin) override;
bool HasSessionOnlyOrigins() override;
bool IsStorageDurable(const GURL& origin) override;
@@ -43,10 +42,6 @@ class MockSpecialStoragePolicy : public storage::SpecialStoragePolicy {
session_only_.insert(origin);
}
- void GrantQueryDiskSize(const GURL& origin) {
- can_query_disk_size_.insert(origin);
- }
-
void AddIsolated(const GURL& origin) {
isolated_.insert(origin);
}
@@ -67,7 +62,6 @@ class MockSpecialStoragePolicy : public storage::SpecialStoragePolicy {
protected_.clear();
unlimited_.clear();
session_only_.clear();
- can_query_disk_size_.clear();
file_handlers_.clear();
isolated_.clear();
all_unlimited_ = false;
@@ -92,7 +86,6 @@ class MockSpecialStoragePolicy : public storage::SpecialStoragePolicy {
std::set<GURL> protected_;
std::set<GURL> unlimited_;
std::set<GURL> session_only_;
- std::set<GURL> can_query_disk_size_;
std::set<GURL> isolated_;
std::set<GURL> durable_;
std::set<std::string> file_handlers_;
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/test/mock_special_storage_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698