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

Unified Diff: components/payments/content/payment_request.h

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 10 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/payment_request.h
diff --git a/components/payments/payment_request.h b/components/payments/content/payment_request.h
similarity index 93%
rename from components/payments/payment_request.h
rename to components/payments/content/payment_request.h
index 551d8ffec00d98c8a43cdf033bf513b6ecda1b24..cdecff311a4898320709b775872568c7ce238ec7 100644
--- a/components/payments/payment_request.h
+++ b/components/payments/content/payment_request.h
@@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_H_
-#define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_H_
+#ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_H_
+#define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_H_
#include <memory>
#include <string>
#include <vector>
-#include "components/autofill/core/browser/personal_data_manager.h"
-#include "components/payments/currency_formatter.h"
-#include "components/payments/payment_request.mojom.h"
-#include "components/payments/payment_request_delegate.h"
+#include "base/macros.h"
+#include "components/payments/content/payment_request.mojom.h"
+#include "components/payments/content/payment_request_delegate.h"
#include "mojo/public/cpp/bindings/binding.h"
namespace autofill {
class AutofillProfile;
class CreditCard;
+class PersonalDataManager;
}
namespace content {
@@ -26,6 +26,7 @@ class WebContents;
namespace payments {
+class CurrencyFormatter;
class PaymentRequestWebContentsManager;
class PaymentRequest : payments::mojom::PaymentRequest {
@@ -155,4 +156,4 @@ class PaymentRequest : payments::mojom::PaymentRequest {
} // namespace payments
-#endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_H_
+#endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_H_
« no previous file with comments | « components/payments/content/payment_details_validation.cc ('k') | components/payments/content/payment_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698