Index: content/browser/payments/payment_app_content_unittest_base.cc |
diff --git a/content/browser/payments/payment_app_content_unittest_base.cc b/content/browser/payments/payment_app_content_unittest_base.cc |
index 2584f344789a94953c91e6ca94bd18d2d436d260..1ce3175e55c712d10a8d155d3607a68ae5aaf137 100644 |
--- a/content/browser/payments/payment_app_content_unittest_base.cc |
+++ b/content/browser/payments/payment_app_content_unittest_base.cc |
@@ -151,42 +151,6 @@ PaymentManager* PaymentAppContentUnitTestBase::CreatePaymentManager( |
return nullptr; |
} |
-void PaymentAppContentUnitTestBase::SetManifest( |
- PaymentManager* manager, |
- payments::mojom::PaymentAppManifestPtr manifest, |
- PaymentManager::SetManifestCallback callback) { |
- ASSERT_NE(nullptr, manager); |
- manager->SetManifest(std::move(manifest), std::move(callback)); |
- base::RunLoop().RunUntilIdle(); |
-} |
- |
-void PaymentAppContentUnitTestBase::GetManifest( |
- PaymentManager* manager, |
- PaymentManager::GetManifestCallback callback) { |
- ASSERT_NE(nullptr, manager); |
- manager->GetManifest(std::move(callback)); |
- base::RunLoop().RunUntilIdle(); |
-} |
- |
-payments::mojom::PaymentAppManifestPtr |
-PaymentAppContentUnitTestBase::CreatePaymentAppManifestForTest( |
- const std::string& name) { |
- payments::mojom::PaymentAppOptionPtr option = |
- payments::mojom::PaymentAppOption::New(); |
- option->name = "Visa ****"; |
- option->id = "payment-app-id"; |
- option->icon = std::string("payment-app-icon"); |
- option->enabled_methods.push_back("visa"); |
- |
- payments::mojom::PaymentAppManifestPtr manifest = |
- payments::mojom::PaymentAppManifest::New(); |
- manifest->icon = std::string("payment-app-icon"); |
- manifest->name = name; |
- manifest->options.push_back(std::move(option)); |
- |
- return manifest; |
-} |
- |
void PaymentAppContentUnitTestBase::UnregisterServiceWorker( |
const GURL& scope_url) { |
// Unregister service worker. |