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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 2711543002: Experiment to add bank name in autofill ui. (Closed)
Patch Set: Add comments about the flag Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // This is opaque to the client. 157 // This is opaque to the client.
158 // status Server's status of this card. 158 // status Server's status of this card.
159 // TODO(brettw) define constants for this. 159 // TODO(brettw) define constants for this.
160 // name_on_card 160 // name_on_card
161 // type Type of the credit card. This is one of the 161 // type Type of the credit card. This is one of the
162 // kSyncCardType* strings. 162 // kSyncCardType* strings.
163 // last_four Last four digits of the card number. For de-duping 163 // last_four Last four digits of the card number. For de-duping
164 // with locally stored cards and generating descriptions. 164 // with locally stored cards and generating descriptions.
165 // exp_month Expiration month: 1-12 165 // exp_month Expiration month: 1-12
166 // exp_year Four-digit year: 2017 166 // exp_year Four-digit year: 2017
167 // bank_name Issuer bank name of the credit card.
167 // 168 //
168 // unmasked_credit_cards 169 // unmasked_credit_cards
169 // When a masked credit credit card is unmasked and the 170 // When a masked credit credit card is unmasked and the
170 // full number is downloaded, it will be stored here. 171 // full number is downloaded, it will be stored here.
171 // 172 //
172 // id Server ID. This can be joined with the id in the 173 // id Server ID. This can be joined with the id in the
173 // masked_credit_cards table to get the rest of the data. 174 // masked_credit_cards table to get the rest of the data.
174 // card_number_encrypted 175 // card_number_encrypted
175 // Full card number, encrypted. 176 // Full card number, encrypted.
176 // use_count DEPRECATED in version 65. See server_card_metadata. 177 // use_count DEPRECATED in version 65. See server_card_metadata.
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 bool MigrateToVersion60AddServerCards(); 455 bool MigrateToVersion60AddServerCards();
455 bool MigrateToVersion61AddUsageStats(); 456 bool MigrateToVersion61AddUsageStats();
456 bool MigrateToVersion62AddUsageStatsForUnmaskedCards(); 457 bool MigrateToVersion62AddUsageStatsForUnmaskedCards();
457 bool MigrateToVersion63AddServerRecipientName(); 458 bool MigrateToVersion63AddServerRecipientName();
458 bool MigrateToVersion64AddUnmaskDate(); 459 bool MigrateToVersion64AddUnmaskDate();
459 bool MigrateToVersion65AddServerMetadataTables(); 460 bool MigrateToVersion65AddServerMetadataTables();
460 bool MigrateToVersion66AddCardBillingAddress(); 461 bool MigrateToVersion66AddCardBillingAddress();
461 bool MigrateToVersion67AddMaskedCardBillingAddress(); 462 bool MigrateToVersion67AddMaskedCardBillingAddress();
462 bool MigrateToVersion70AddSyncMetadata(); 463 bool MigrateToVersion70AddSyncMetadata();
463 bool MigrateToVersion71AddHasConvertedAndBillingAddressIdMetadata(); 464 bool MigrateToVersion71AddHasConvertedAndBillingAddressIdMetadata();
465 bool MigrateToVersion72AddMaskedCardBankName();
464 466
465 // Max data length saved in the table, AKA the maximum length allowed for 467 // Max data length saved in the table, AKA the maximum length allowed for
466 // form data. 468 // form data.
467 // Copied to components/autofill/ios/browser/resources/autofill_controller.js. 469 // Copied to components/autofill/ios/browser/resources/autofill_controller.js.
468 static const size_t kMaxDataLength; 470 static const size_t kMaxDataLength;
469 471
470 private: 472 private:
471 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill); 473 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill);
472 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges); 474 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges);
473 FRIEND_TEST_ALL_PREFIXES( 475 FRIEND_TEST_ALL_PREFIXES(
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 bool InitModelTypeStateTable(); 550 bool InitModelTypeStateTable();
549 551
550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; 552 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_;
551 553
552 DISALLOW_COPY_AND_ASSIGN(AutofillTable); 554 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
553 }; 555 };
554 556
555 } // namespace autofill 557 } // namespace autofill
556 558
557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 559 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698