Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: content/browser/payments/payment_manager.cc

Issue 2875493003: PaymentHandler: Remove PaymentAppManifest and PaymentAppOption. (Closed)
Patch Set: global-interface-listing Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/payments/payment_manager.h ('k') | content/browser/payments/payment_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/payments/payment_manager.cc
diff --git a/content/browser/payments/payment_manager.cc b/content/browser/payments/payment_manager.cc
index c08b64eb2d6b8ec6d5ace8f1d2dcc0c47e923840..ce9445ed27b4d9727a5db7e15ddda15a0eed5da8 100644
--- a/content/browser/payments/payment_manager.cc
+++ b/content/browser/payments/payment_manager.cc
@@ -39,25 +39,6 @@ void PaymentManager::Init(const std::string& scope) {
scope_ = GURL(scope);
}
-void PaymentManager::SetManifest(
- payments::mojom::PaymentAppManifestPtr manifest,
- SetManifestCallback callback) {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
-
- // TODO(zino): Should implement requesting a permission for users to allow
- // the payment app to be registered. Please see http://crbug.com/665949.
-
- payment_app_context_->payment_app_database()->WriteManifest(
- scope_, std::move(manifest), std::move(callback));
-}
-
-void PaymentManager::GetManifest(GetManifestCallback callback) {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
-
- payment_app_context_->payment_app_database()->ReadManifest(
- scope_, std::move(callback));
-}
-
void PaymentManager::DeletePaymentInstrument(
const std::string& instrument_key,
PaymentManager::DeletePaymentInstrumentCallback callback) {
« no previous file with comments | « content/browser/payments/payment_manager.h ('k') | content/browser/payments/payment_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698