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

Unified Diff: components/payments/core/payment_instrument.cc

Issue 2757523002: [Payments] Use PaymentInstrument/AutofillPaymentInstrument throughout. (Closed)
Patch Set: addressed nits Created 3 years, 9 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 | « components/payments/core/payment_instrument.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/payment_instrument.cc
diff --git a/components/payments/core/payment_instrument.cc b/components/payments/core/payment_instrument.cc
new file mode 100644
index 0000000000000000000000000000000000000000..324c47a9372ab8760fc2c173ad8a67b1f4fae447
--- /dev/null
+++ b/components/payments/core/payment_instrument.cc
@@ -0,0 +1,20 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/payments/core/payment_instrument.h"
+
+namespace payments {
+
+PaymentInstrument::PaymentInstrument(const std::string& method_name,
+ const base::string16& label,
+ const base::string16& sublabel,
+ int icon_resource_id)
+ : method_name_(method_name),
+ label_(label),
+ sublabel_(sublabel),
+ icon_resource_id_(icon_resource_id) {}
+
+PaymentInstrument::~PaymentInstrument() {}
+
+} // namespace payments
« no previous file with comments | « components/payments/core/payment_instrument.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698