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

Side by Side Diff: components/autofill/browser/wallet/instrument.h

Issue 13928035: WIP Component build of autofill Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make windows compiling Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "components/autofill/common/autofill_export.h"
12 13
13 namespace base { 14 namespace base {
14 class DictionaryValue; 15 class DictionaryValue;
15 } 16 }
16 17
17 namespace autofill { 18 namespace autofill {
18 19
19 class AutofillProfile; 20 class AutofillProfile;
20 class CreditCard; 21 class CreditCard;
21 22
22 namespace wallet { 23 namespace wallet {
23 24
24 class Address; 25 class Address;
25 26
26 // This class contains all the data necessary to save a new instrument to a 27 // This class contains all the data necessary to save a new instrument to a
27 // user's Google Wallet using WalletClient::SaveInstrument or 28 // user's Google Wallet using WalletClient::SaveInstrument or
28 // WalletClient::SaveInstrumentAndAddress. 29 // WalletClient::SaveInstrumentAndAddress.
29 class Instrument { 30 class AUTOFILL_EXPORT Instrument {
30 public: 31 public:
31 enum FormOfPayment { 32 enum FormOfPayment {
32 UNKNOWN, 33 UNKNOWN,
33 VISA, 34 VISA,
34 MASTER_CARD, 35 MASTER_CARD,
35 AMEX, 36 AMEX,
36 DISCOVER, 37 DISCOVER,
37 JCB, 38 JCB,
38 }; 39 };
39 40
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // The last four digits of |primary_account_number_|. 96 // The last four digits of |primary_account_number_|.
96 base::string16 last_four_digits_; 97 base::string16 last_four_digits_;
97 98
98 DISALLOW_ASSIGN(Instrument); 99 DISALLOW_ASSIGN(Instrument);
99 }; 100 };
100 101
101 } // namespace wallet 102 } // namespace wallet
102 } // namespace autofill 103 } // namespace autofill
103 104
104 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_ 105 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_INSTRUMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698