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

Unified Diff: ios/chrome/browser/payments/test_payment_request.h

Issue 2965073002: [Payment Request] Moves PaymentRequest into the payments namespace (Closed)
Patch Set: rebase 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
Index: ios/chrome/browser/payments/test_payment_request.h
diff --git a/ios/chrome/browser/payments/test_payment_request.h b/ios/chrome/browser/payments/test_payment_request.h
index fa0ff0e41825a4ee377aefaa4d82f65a6d81da5d..2d119851eed77e8cb9c5db9fd546e8f14e0add4d 100644
--- a/ios/chrome/browser/payments/test_payment_request.h
+++ b/ios/chrome/browser/payments/test_payment_request.h
@@ -28,6 +28,8 @@ class PaymentShippingOption;
class PrefService;
+namespace payments {
+
// PaymentRequest for use in tests.
class TestPaymentRequest : public PaymentRequest {
public:
@@ -69,8 +71,7 @@ class TestPaymentRequest : public PaymentRequest {
pref_service_ = pref_service;
}
- void SetProfileComparator(
- payments::PaymentsProfileComparator* profile_comparator) {
+ void SetProfileComparator(PaymentsProfileComparator* profile_comparator) {
profile_comparator_ = profile_comparator;
}
@@ -95,7 +96,7 @@ class TestPaymentRequest : public PaymentRequest {
// PaymentRequest
autofill::RegionDataLoader* GetRegionDataLoader() override;
PrefService* GetPrefService() override;
- payments::PaymentsProfileComparator* profile_comparator() override;
+ PaymentsProfileComparator* profile_comparator() override;
private:
// Not owned and must outlive this object.
@@ -105,9 +106,11 @@ class TestPaymentRequest : public PaymentRequest {
PrefService* pref_service_;
// Not owned and must outlive this object.
- payments::PaymentsProfileComparator* profile_comparator_;
+ PaymentsProfileComparator* profile_comparator_;
DISALLOW_COPY_AND_ASSIGN(TestPaymentRequest);
};
+} // namespace payments
+
#endif // IOS_CHROME_BROWSER_PAYMENTS_TEST_PAYMENT_REQUEST_H_
« no previous file with comments | « ios/chrome/browser/payments/payment_request_util.mm ('k') | ios/chrome/browser/payments/test_payment_request.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698