Searched refs:kClientFile (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/content/browser/quota/
H A Dmock_quota_manager_unittest.cc35 const QuotaClient::ID kClientFile = QuotaClient::kFileSystem; member in namespace:content
119 EXPECT_FALSE(manager()->OriginHasData(kOrigin1, kTemporary, kClientFile));
121 EXPECT_FALSE(manager()->OriginHasData(kOrigin1, kPersistent, kClientFile));
123 EXPECT_FALSE(manager()->OriginHasData(kOrigin2, kTemporary, kClientFile));
125 EXPECT_FALSE(manager()->OriginHasData(kOrigin2, kPersistent, kClientFile));
128 manager()->AddOrigin(kOrigin1, kTemporary, kClientFile, base::Time::Now());
129 EXPECT_TRUE(manager()->OriginHasData(kOrigin1, kTemporary, kClientFile));
131 EXPECT_FALSE(manager()->OriginHasData(kOrigin1, kPersistent, kClientFile));
133 EXPECT_FALSE(manager()->OriginHasData(kOrigin2, kTemporary, kClientFile));
135 EXPECT_FALSE(manager()->OriginHasData(kOrigin2, kPersistent, kClientFile));
[all...]
/external/chromium_org/content/browser/
H A Dstorage_partition_impl_unittest.cc55 const storage::QuotaClient::ID kClientFile = storage::QuotaClient::kFileSystem; member in namespace:content::__anon7439
436 manager->AddOrigin(kOrigin2, kPersistent, kClientFile, base::Time());
437 manager->AddOrigin(kOrigin3, kPersistent, kClientFile,
440 EXPECT_FALSE(manager->OriginHasData(kOrigin1, kPersistent, kClientFile));
441 EXPECT_TRUE(manager->OriginHasData(kOrigin2, kPersistent, kClientFile));
442 EXPECT_TRUE(manager->OriginHasData(kOrigin3, kPersistent, kClientFile));
446 manager->AddOrigin(kOrigin1, kTemporary, kClientFile, base::Time::Now());
447 manager->AddOrigin(kOrigin3, kTemporary, kClientFile,
450 EXPECT_TRUE(manager->OriginHasData(kOrigin1, kTemporary, kClientFile));
451 EXPECT_FALSE(manager->OriginHasData(kOrigin2, kTemporary, kClientFile));
[all...]

Completed in 96 milliseconds