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

Side by Side Diff: chrome/browser/autofill/wallet/cart.h

Issue 11293078: Integrating Online Wallet into Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes from Raman's code review Created 8 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_AUTOFILL_WALLET_CART_H_
6 #define CHROME_BROWSER_AUTOFILL_WALLET_CART_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12
13 namespace base {
14 class DictionaryValue;
15 }
16
17 namespace wallet {
18
19 class Cart {
Albert Bodenhamer 2012/11/28 23:50:56 Some comments here would be good.
ahutter 2012/11/29 20:52:38 Done.
20 public:
Albert Bodenhamer 2012/11/28 23:50:56 I'm not 100% sure cart is the right name for this.
ahutter 2012/11/29 20:52:38 So in the current api we're allowing support for a
21 Cart(const std::string& total_price, const std::string& currency_code);
22 ~Cart();
23 const std::string get_total_price() const { return total_price_; }
24 const std::string get_currency_code() const { return currency_code_; }
25 scoped_ptr<base::DictionaryValue> ToDictionary() const;
26
27 private:
28 std::string total_price_;
29 std::string currency_code_;
30 DISALLOW_COPY_AND_ASSIGN(Cart);
31 };
32
33 } // end wallet namespace
34
35 #endif // CHROME_BROWSER_AUTOFILL_WALLET_CART_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698