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

Unified Diff: components/payments/content/utility/payment_manifest_parser.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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
Index: components/payments/content/utility/payment_manifest_parser.h
diff --git a/components/payments/content/utility/payment_manifest_parser.h b/components/payments/content/utility/payment_manifest_parser.h
index 5f0fbe8be87f60cca67622af84a6edbe53173a32..5a4d649f30de9cbcb1d24dea8d18b9e288754975 100644
--- a/components/payments/content/utility/payment_manifest_parser.h
+++ b/components/payments/content/utility/payment_manifest_parser.h
@@ -12,6 +12,10 @@
#include "components/payments/mojom/payment_manifest_parser.mojom.h"
#include "url/gurl.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace payments {
// Parser for payment method manifests and web app manifests. Should be used
@@ -42,7 +46,8 @@ namespace payments {
// https://docs.google.com/document/d/1izV4uC-tiRJG3JLooqY3YRLU22tYOsLTNq0P_InPJeE
class PaymentManifestParser : public mojom::PaymentManifestParser {
public:
- static void Create(mojom::PaymentManifestParserRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ mojom::PaymentManifestParserRequest request);
static std::vector<GURL> ParsePaymentMethodManifestIntoVector(
const std::string& input);

Powered by Google App Engine
This is Rietveld 408576698