Home
last modified time | relevance | path

Searched refs:kStorageTypeTemporary (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/content/browser/quota/
Dquota_database_unittest.cc24 using storage::kStorageTypeTemporary;
53 QuotaTableEntry("a", kStorageTypeTemporary, 1), in UpgradeSchemaV2toV3()
54 QuotaTableEntry("b", kStorageTypeTemporary, 2), in UpgradeSchemaV2toV3()
80 EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypeTemporary, &quota)); in HostQuota()
84 EXPECT_TRUE(db.SetHostQuota(kHost, kStorageTypeTemporary, kQuota1)); in HostQuota()
85 EXPECT_TRUE(db.GetHostQuota(kHost, kStorageTypeTemporary, &quota)); in HostQuota()
89 EXPECT_TRUE(db.SetHostQuota(kHost, kStorageTypeTemporary, kQuota2)); in HostQuota()
90 EXPECT_TRUE(db.GetHostQuota(kHost, kStorageTypeTemporary, &quota)); in HostQuota()
97 EXPECT_TRUE(db.DeleteHostQuota(kHost, kStorageTypeTemporary)); in HostQuota()
98 EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypeTemporary, &quota)); in HostQuota()
[all …]
Dusage_tracker_unittest.cc13 using storage::kStorageTypeTemporary;
59 EXPECT_EQ(kStorageTypeTemporary, type); in GetOriginUsage()
67 EXPECT_EQ(kStorageTypeTemporary, type); in GetOriginsForType()
80 EXPECT_EQ(kStorageTypeTemporary, type); in GetOriginsForHost()
94 EXPECT_EQ(kStorageTypeTemporary, type); in DeleteOriginData()
101 return type == storage::kStorageTypeTemporary; in DoesSupport()
131 usage_tracker_(GetUsageTrackerList(), kStorageTypeTemporary, in UsageTrackerTest()
Dstorage_monitor_unittest.cc24 using storage::kStorageTypeTemporary;
555 params1_(kStorageTypeTemporary, in StorageMonitorTest()
589 kStorageTypeTemporary)); in CheckObserverCount()
591 kStorageTypeTemporary)->GetHostObservers(host_)); in CheckObserverCount()
592 EXPECT_EQ(expected_temporary, GetObserverCount(kStorageTypeTemporary)); in CheckObserverCount()
Dmock_quota_manager_unittest.cc20 using storage::kStorageTypeTemporary;
32 const StorageType kTemporary = kStorageTypeTemporary;
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_quota_helper_unittest.cc140 {"http://example.com/", storage::kStorageTypeTemporary, 1}, in TEST_F()
141 {"https://example.com/", storage::kStorageTypeTemporary, 10}, in TEST_F()
144 {"http://example2.com/", storage::kStorageTypeTemporary, 1000}, in TEST_F()
161 {"http://example.com/", storage::kStorageTypeTemporary, 1}, in TEST_F()
162 {"https://example.com/", storage::kStorageTypeTemporary, 10}, in TEST_F()
165 {"http://example2.com/", storage::kStorageTypeTemporary, 1000}, in TEST_F()
167 storage::kStorageTypeTemporary, 10000}, in TEST_F()
171 storage::kStorageTypeTemporary, 10000}, in TEST_F()
Dbrowsing_data_quota_helper_impl.cc81 storage::kStorageTypeTemporary, in FetchQuotaInfo()
95 DCHECK(type == storage::kStorageTypeTemporary || in GotOrigins()
100 if (type == storage::kStorageTypeTemporary) { in GotOrigins()
144 case storage::kStorageTypeTemporary: in GotHostUsage()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_quota_client.cc81 if (type != storage::kStorageTypeTemporary) { in GetOriginUsage()
107 if (type != storage::kStorageTypeTemporary) { in GetOriginsForType()
135 if (type != storage::kStorageTypeTemporary) { in GetOriginsForHost()
159 if (type != storage::kStorageTypeTemporary) { in DeleteOriginData()
179 return type == storage::kStorageTypeTemporary; in DoesSupport()
Dindexed_db_context_impl.cc388 storage::kStorageTypeTemporary); in ConnectionOpened()
406 storage::kStorageTypeTemporary); in ConnectionClosed()
502 storage::kStorageTypeTemporary, in QueryDiskAndUpdateQuotaUsage()
552 storage::kStorageTypeTemporary, in QueryAvailableQuota()
Dindexed_db_quota_client_unittest.cc25 static const storage::StorageType kTemp = storage::kStorageTypeTemporary;
/external/chromium_org/storage/browser/database/
Ddatabase_quota_client.cc129 if (type != storage::kStorageTypeTemporary) { in GetOriginUsage()
148 if (type != storage::kStorageTypeTemporary) { in GetOriginsForType()
172 if (type != storage::kStorageTypeTemporary) { in GetOriginsForHost()
196 if (type != storage::kStorageTypeTemporary) { in DeleteOriginData()
217 return type == storage::kStorageTypeTemporary; in DoesSupport()
Ddatabase_tracker.cc126 storage::kStorageTypeTemporary); in DatabaseOpened()
161 storage::kStorageTypeTemporary); in DatabaseClosed()
366 storage::kStorageTypeTemporary, in DeleteClosedDatabase()
426 storage::kStorageTypeTemporary, in DeleteOrigin()
613 storage::kStorageTypeTemporary, in UpdateOpenDatabaseInfoAndNotify()
/external/chromium_org/content/browser/appcache/
Dappcache_quota_client.cc82 if (type != storage::kStorageTypeTemporary) { in GetOriginUsage()
132 if (type != storage::kStorageTypeTemporary) { in DeleteOriginData()
142 return type == storage::kStorageTypeTemporary; in DoesSupport()
178 if (type != storage::kStorageTypeTemporary) { in GetOriginsHelper()
Dappcache_storage.cc110 storage::kStorageTypeTemporary, in UpdateUsageMapAndNotify()
122 storage::kStorageTypeTemporary, in ClearUsageMapAndNotify()
135 storage::kStorageTypeTemporary); in NotifyStorageAccessed()
Dappcache_storage_unittest.cc17 const storage::StorageType kTemp = storage::kStorageTypeTemporary;
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
Dquota_internals_proxy.cc42 storage::kStorageTypeTemporary)); in RequestInfo()
45 storage::kStorageTypeTemporary, in RequestInfo()
48 storage::kStorageTypeTemporary)); in RequestInfo()
161 DCHECK(type == storage::kStorageTypeTemporary || in DidGetHostUsage()
Dquota_internals_types.cc16 case storage::kStorageTypeTemporary: in StorageTypeToString()
/external/chromium_org/storage/browser/quota/
Dquota_manager.cc170 if (database->RegisterInitialOriginInfo(*origins, kStorageTypeTemporary)) { in InitializeTemporaryOriginsInfoOnDBThread()
276 if (type == kStorageTypeTemporary && !is_unlimited) { in DispatchUsageAndQuotaForWebApps()
480 manager()->GetUsageTracker(kStorageTypeTemporary)->GetGlobalUsage( in Run()
483 kStorageTypeTemporary)); in Run()
832 if (type != kStorageTypeTemporary && in GetUsageAndQuotaForWebApps()
852 if (type == kStorageTypeTemporary) { in GetUsageAndQuotaForWebApps()
986 GetUsageTracker(kStorageTypeTemporary)-> in GetTemporaryGlobalQuota()
1168 case kStorageTypeTemporary: in ResetUsageTracker()
1170 clients_, kStorageTypeTemporary, special_storage_policy_.get(), in ResetUsageTracker()
1233 clients_, kStorageTypeTemporary, special_storage_policy_.get(), in LazyInitialize()
[all …]
Dquota_temporary_storage_evictor.cc199 kStorageTypeTemporary, in OnGotUsageAndQuotaForEviction()
230 quota_eviction_handler_->EvictOriginData(origin, kStorageTypeTemporary, in OnGotLRUOrigin()
/external/chromium_org/storage/common/quota/
Dquota_types.h13 kStorageTypeTemporary, enumerator
/external/chromium_org/content/public/common/
Dstorage_quota_params.h21 storage_type(storage::kStorageTypeTemporary), in StorageQuotaParams()
/external/chromium_org/content/browser/
Dquota_dispatcher_host.cc120 DCHECK(params_.storage_type == storage::kStorageTypeTemporary || in Start()
248 if (params.storage_type != storage::kStorageTypeTemporary && in OnRequestStorageQuota()
Ddatabase_quota_client_unittest.cc27 static const storage::StorageType kTemp = storage::kStorageTypeTemporary;
/external/chromium_org/android_webview/native/
Daw_quota_manager_bridge_impl.cc89 storage::kStorageTypeTemporary, in Run()
338 storage::kStorageTypeTemporary, in GetUsageAndQuotaForOriginOnUiThread()
/external/chromium_org/content/child/
Dquota_dispatcher.cc179 int(storage::kStorageTypeTemporary),
/external/chromium_org/storage/common/fileapi/
Dfile_system_util.cc249 case storage::kStorageTypeTemporary: in QuotaStorageTypeToFileSystemType()
265 return storage::kStorageTypeTemporary; in FileSystemTypeToQuotaStorageType()

12