| Index: third_party/WebKit/Source/platform/payments/PlatformPaymentOptions.cpp
|
| diff --git a/third_party/WebKit/Source/platform/payments/PlatformPaymentOptions.cpp b/third_party/WebKit/Source/platform/payments/PlatformPaymentOptions.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee8f15c51dc1efd4de3210d99b71ff931acf80ff
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/payments/PlatformPaymentOptions.cpp
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 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.
|
| +
|
| +#include "platform/payments/PlatformPaymentOptions.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +payments::mojom::PaymentOptionsPtr
|
| +TypeConverter<payments::mojom::PaymentOptionsPtr, blink::PlatformPaymentOptions>::Convert(
|
| + const blink::PlatformPaymentOptions& input)
|
| +{
|
| + payments::mojom::PaymentOptionsPtr output = payments::mojom::PaymentOptions::New();
|
| + output->request_shipping = input.requestShipping;
|
| + return output;
|
| +}
|
| +
|
| +} // namespace mojo
|
|
|