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

Side by Side Diff: ios/web/public/payments/payment_request.h

Issue 2333483002: Remove deprecated version of PaymentResponse::ToDictionaryValue. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « ios/web/payments/payment_request.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_ 5 #ifndef IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_
6 #define IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_ 6 #define IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 PaymentResponse(); 308 PaymentResponse();
309 PaymentResponse(const PaymentResponse& other); 309 PaymentResponse(const PaymentResponse& other);
310 ~PaymentResponse(); 310 ~PaymentResponse();
311 311
312 bool operator==(const PaymentResponse& other) const; 312 bool operator==(const PaymentResponse& other) const;
313 bool operator!=(const PaymentResponse& other) const; 313 bool operator!=(const PaymentResponse& other) const;
314 314
315 // Populates |value| with the properties of this PaymentResponse. 315 // Populates |value| with the properties of this PaymentResponse.
316 std::unique_ptr<base::DictionaryValue> ToDictionaryValue() const; 316 std::unique_ptr<base::DictionaryValue> ToDictionaryValue() const;
317 317
318 // TODO(jdonnelly): Remove this after removing downstream use.
319 void ToDictionaryValue(base::DictionaryValue* value) const;
320
321 // The payment method identifier for the payment method that the user selected 318 // The payment method identifier for the payment method that the user selected
322 // to fulfil the transaction. 319 // to fulfil the transaction.
323 base::string16 method_name; 320 base::string16 method_name;
324 321
325 // A credit card response object used by the merchant to process the 322 // A credit card response object used by the merchant to process the
326 // transaction and determine successful fund transfer. 323 // transaction and determine successful fund transfer.
327 BasicCardResponse details; 324 BasicCardResponse details;
328 }; 325 };
329 326
330 } // namespace web 327 } // namespace web
331 328
332 #endif // IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_ 329 #endif // IOS_WEB_PUBLIC_PAYMENTS_PAYMENT_REQUEST_H_
OLDNEW
« no previous file with comments | « ios/web/payments/payment_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698