| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. | 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* global PaymentRequest:false */ | 7 /* global PaymentRequest:false */ |
| 8 /* global toDictionary:false */ | 8 /* global toDictionary:false */ |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 shippingOption.amount.value = '5.00'; | 85 shippingOption.amount.value = '5.00'; |
| 86 details.total.amount.value = '10.00'; | 86 details.total.amount.value = '10.00'; |
| 87 } | 87 } |
| 88 details.displayItems.splice(0, 1, shippingOption); | 88 details.displayItems.splice(0, 1, shippingOption); |
| 89 details.shippingOptions = [shippingOption]; | 89 details.shippingOptions = [shippingOption]; |
| 90 } else { | 90 } else { |
| 91 delete details.shippingOptions; | 91 delete details.shippingOptions; |
| 92 } | 92 } |
| 93 return details; | 93 return details; |
| 94 } | 94 } |
| OLD | NEW |