Lines Matching refs:storage
21 #include "storage/common/database/database_identifier.h"
25 static const storage::StorageType kTemp = storage::kStorageTypeTemporary;
26 static const storage::StorageType kPerm = storage::kStorageTypePersistent;
46 scoped_refptr<storage::QuotaManager> quota_manager =
79 int64 GetOriginUsage(storage::QuotaClient* client,
81 storage::StorageType type) {
94 const std::set<GURL>& GetOriginsForType(storage::QuotaClient* client,
95 storage::StorageType type) {
106 const std::set<GURL>& GetOriginsForHost(storage::QuotaClient* client,
107 storage::StorageType type,
120 storage::QuotaStatusCode DeleteOrigin(storage::QuotaClient* client,
122 delete_status_ = storage::kQuotaStatusUnknown;
142 storage::GetIdentifierFromOrigin(origin));
159 void OnDeleteOriginComplete(storage::QuotaStatusCode code) {
170 storage::QuotaStatusCode delete_status_;
239 storage::QuotaStatusCode delete_status = DeleteOrigin(&client, kOriginA);
240 EXPECT_EQ(storage::kQuotaStatusOk, delete_status);