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

Unified Diff: content/public/browser/stored_payment_instrument.h

Issue 2969713002: [Payments] Present web payment app instead of instruments to user (Closed)
Patch Set: address comments Created 3 years, 5 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/public/browser/stored_payment_app.h ('k') | content/public/browser/stored_payment_instrument.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/stored_payment_instrument.h
diff --git a/content/public/browser/stored_payment_instrument.h b/content/public/browser/stored_payment_instrument.h
deleted file mode 100644
index 6860016242e0d84f4bf183e78b3e166e2040a566..0000000000000000000000000000000000000000
--- a/content/public/browser/stored_payment_instrument.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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.
-
-#ifndef CONTENT_PUBLIC_BROWSER_STORED_PAYMENT_INSTRUMENT_H_
-#define CONTENT_PUBLIC_BROWSER_STORED_PAYMENT_INSTRUMENT_H_
-
-#include <stdint.h>
-#include <string>
-#include <vector>
-
-#include "content/common/content_export.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "url/gurl.h"
-
-namespace content {
-
-// This class represents the stored payment instrument in UA.
-struct CONTENT_EXPORT StoredPaymentInstrument {
- StoredPaymentInstrument();
- ~StoredPaymentInstrument();
-
- // Id of this payment instrument. This key will be passed to the payment
- // handler to indicate the instrument selected by the user.
- std::string instrument_key;
-
- // Origin of the payment app provider that provides this payment instrument.
- GURL origin;
-
- // Label for this payment instrument.
- std::string name;
-
- // Decoded icon for this payment instrument.
- std::unique_ptr<SkBitmap> icon;
-
- // A list of one or more payment method identifiers of the payment methods
- // supported by this payment instrument.
- std::vector<std::string> enabled_methods;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_STORED_PAYMENT_INSTRUMENT_H_
« no previous file with comments | « content/public/browser/stored_payment_app.h ('k') | content/public/browser/stored_payment_instrument.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698