diff options
Diffstat (limited to 'components/autofill/browser/wallet/cart.cc')
-rw-r--r-- | components/autofill/browser/wallet/cart.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/components/autofill/browser/wallet/cart.cc b/components/autofill/browser/wallet/cart.cc deleted file mode 100644 index b6f41a4..0000000 --- a/components/autofill/browser/wallet/cart.cc +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) 2012 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 "components/autofill/browser/wallet/cart.h" - -#include "base/values.h" - -namespace autofill { -namespace wallet { - -Cart::Cart(const std::string& total_price, const std::string& currency_code) - : total_price_(total_price), currency_code_(currency_code) {} - -Cart::~Cart() {} - -scoped_ptr<base::DictionaryValue> Cart::ToDictionary() const { - base::DictionaryValue* dict = new base::DictionaryValue(); - dict->SetString("total_price", total_price_); - dict->SetString("currency_code", currency_code_); - return scoped_ptr<base::DictionaryValue>(dict); -} - -} // namespace wallet -} // namespace autofill |