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

Unified Diff: chrome/browser/autofill/wallet/cart.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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
« no previous file with comments | « chrome/browser/autofill/wallet/cart.h ('k') | chrome/browser/autofill/wallet/cart_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/wallet/cart.cc
diff --git a/chrome/browser/autofill/wallet/cart.cc b/chrome/browser/autofill/wallet/cart.cc
deleted file mode 100644
index bca2e351a9a4c0be34b9814d09fad77fd08ea94c..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/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 "chrome/browser/autofill/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
« no previous file with comments | « chrome/browser/autofill/wallet/cart.h ('k') | chrome/browser/autofill/wallet/cart_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698