Index: content/browser/indexed_db/indexed_db_quota_client_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_quota_client_unittest.cc b/content/browser/indexed_db/indexed_db_quota_client_unittest.cc |
index 2570f9de758bf655644e944b43f7f15b6e4e2db7..0d8628ac7128881c3fd649d4a247ea56e7a6efb3 100644 |
--- a/content/browser/indexed_db/indexed_db_quota_client_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_quota_client_unittest.cc |
@@ -89,7 +89,6 @@ class IndexedDBQuotaClientTest : public testing::Test { |
quota::QuotaClient* client, |
quota::StorageType type) { |
origins_.clear(); |
- type_ = quota::kStorageTypeTemporary; |
client->GetOriginsForType( |
type, |
base::Bind(&IndexedDBQuotaClientTest::OnGetOriginsComplete, |
@@ -103,7 +102,6 @@ class IndexedDBQuotaClientTest : public testing::Test { |
quota::StorageType type, |
const std::string& host) { |
origins_.clear(); |
- type_ = quota::kStorageTypeTemporary; |
client->GetOriginsForHost( |
type, host, |
base::Bind(&IndexedDBQuotaClientTest::OnGetOriginsComplete, |
@@ -147,10 +145,8 @@ class IndexedDBQuotaClientTest : public testing::Test { |
usage_ = usage; |
} |
- void OnGetOriginsComplete(const std::set<GURL>& origins, |
- quota::StorageType type) { |
+ void OnGetOriginsComplete(const std::set<GURL>& origins) { |
origins_ = origins; |
- type_ = type; |
} |
void OnDeleteOriginComplete(quota::QuotaStatusCode code) { |
@@ -160,7 +156,6 @@ class IndexedDBQuotaClientTest : public testing::Test { |
base::ScopedTempDir temp_dir_; |
int64 usage_; |
std::set<GURL> origins_; |
- quota::StorageType type_; |
scoped_refptr<IndexedDBContextImpl> idb_context_; |
base::WeakPtrFactory<IndexedDBQuotaClientTest> weak_factory_; |
base::MessageLoop message_loop_; |