Index: content/browser/payments/payment_app_context_impl.cc |
diff --git a/content/browser/payments/payment_app_context_impl.cc b/content/browser/payments/payment_app_context_impl.cc |
index eb5a9556667d237c234cd4b9596c4344d16d932e..20192b1c585699b5110fbdfb15696e29d86d40aa 100644 |
--- a/content/browser/payments/payment_app_context_impl.cc |
+++ b/content/browser/payments/payment_app_context_impl.cc |
@@ -61,14 +61,6 @@ PaymentAppDatabase* PaymentAppContextImpl::payment_app_database() const { |
return payment_app_database_.get(); |
} |
-void PaymentAppContextImpl::GetAllManifests( |
- const GetAllManifestsCallback& callback) { |
- DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- BrowserThread::PostTask( |
- BrowserThread::IO, FROM_HERE, |
- base::Bind(&PaymentAppContextImpl::GetAllManifestsOnIO, this, callback)); |
-} |
- |
PaymentAppContextImpl::~PaymentAppContextImpl() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
DCHECK(is_shutdown_); |
@@ -103,21 +95,4 @@ void PaymentAppContextImpl::DidShutdown() { |
is_shutdown_ = true; |
} |
-void PaymentAppContextImpl::GetAllManifestsOnIO( |
- const GetAllManifestsCallback& callback) { |
- DCHECK_CURRENTLY_ON(BrowserThread::IO); |
- payment_app_database()->ReadAllManifests(base::Bind( |
- &PaymentAppContextImpl::DidGetAllManifestsOnIO, this, callback)); |
-} |
- |
-void PaymentAppContextImpl::DidGetAllManifestsOnIO( |
- const GetAllManifestsCallback& callback, |
- Manifests manifests) { |
- DCHECK_CURRENTLY_ON(BrowserThread::IO); |
- |
- BrowserThread::PostTask( |
- BrowserThread::UI, FROM_HERE, |
- base::Bind(callback, base::Passed(std::move(manifests)))); |
-} |
- |
} // namespace content |