Index: components/download/internal/test/test_store.cc |
diff --git a/components/download/internal/test/test_store.cc b/components/download/internal/test/test_store.cc |
index 01faec77b989ba5ae43a2329756d599ec48826a2..c9e472b9461a49b78fb75cae24bbcafa8f1b4d29 100644 |
--- a/components/download/internal/test/test_store.cc |
+++ b/components/download/internal/test/test_store.cc |
@@ -9,8 +9,7 @@ |
namespace download { |
namespace test { |
-TestStore::TestStore() |
- : ready_(false), init_called_(false), destroy_called_(false) {} |
+TestStore::TestStore() : ready_(false), init_called_(false) {} |
TestStore::~TestStore() {} |
@@ -23,11 +22,6 @@ void TestStore::Initialize(InitCallback callback) { |
init_callback_ = std::move(callback); |
} |
-void TestStore::Destroy(StoreCallback callback) { |
- destroy_called_ = true; |
- destroy_callback_ = std::move(callback); |
-} |
- |
void TestStore::Update(const Entry& entry, StoreCallback callback) { |
updated_entries_.push_back(entry); |
update_callback_ = std::move(callback); |
@@ -46,11 +40,6 @@ void TestStore::TriggerInit(bool success, |
std::move(init_callback_).Run(success, std::move(entries)); |
} |
-void TestStore::TriggerDestroy(bool success) { |
- DCHECK(destroy_callback_); |
- std::move(destroy_callback_).Run(success); |
-} |
- |
void TestStore::TriggerUpdate(bool success) { |
DCHECK(update_callback_); |
std::move(update_callback_).Run(success); |