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

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

Issue 310463005: Fill in more name fields with requestAutocomplete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dumb test is dumb Created 6 years, 6 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 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 <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // 77 //
78 // autofill_profile_names 78 // autofill_profile_names
79 // This table contains the multi-valued name fields 79 // This table contains the multi-valued name fields
80 // associated with a profile. 80 // associated with a profile.
81 // 81 //
82 // guid The guid string that identifies the profile to which 82 // guid The guid string that identifies the profile to which
83 // the name belongs. 83 // the name belongs.
84 // first_name 84 // first_name
85 // middle_name 85 // middle_name
86 // last_name 86 // last_name
87 // full_name
87 // 88 //
88 // autofill_profile_emails 89 // autofill_profile_emails
89 // This table contains the multi-valued email fields 90 // This table contains the multi-valued email fields
90 // associated with a profile. 91 // associated with a profile.
91 // 92 //
92 // guid The guid string that identifies the profile to which 93 // guid The guid string that identifies the profile to which
93 // the email belongs. 94 // the email belongs.
94 // email 95 // email
95 // 96 //
96 // autofill_profile_phones 97 // autofill_profile_phones
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 bool MigrateToVersion31AddGUIDToCreditCardsAndProfiles(); 278 bool MigrateToVersion31AddGUIDToCreditCardsAndProfiles();
278 bool MigrateToVersion32UpdateProfilesAndCreditCards(); 279 bool MigrateToVersion32UpdateProfilesAndCreditCards();
279 bool MigrateToVersion33ProfilesBasedOnFirstName(); 280 bool MigrateToVersion33ProfilesBasedOnFirstName();
280 bool MigrateToVersion34ProfilesBasedOnCountryCode(); 281 bool MigrateToVersion34ProfilesBasedOnCountryCode();
281 bool MigrateToVersion35GreatBritainCountryCodes(); 282 bool MigrateToVersion35GreatBritainCountryCodes();
282 bool MigrateToVersion37MergeAndCullOlderProfiles(); 283 bool MigrateToVersion37MergeAndCullOlderProfiles();
283 bool MigrateToVersion51AddOriginColumn(); 284 bool MigrateToVersion51AddOriginColumn();
284 bool MigrateToVersion54AddI18nFieldsAndRemoveDeprecatedFields(); 285 bool MigrateToVersion54AddI18nFieldsAndRemoveDeprecatedFields();
285 bool MigrateToVersion55MergeAutofillDatesTable(); 286 bool MigrateToVersion55MergeAutofillDatesTable();
286 bool MigrateToVersion56AddProfileLanguageCodeForFormatting(); 287 bool MigrateToVersion56AddProfileLanguageCodeForFormatting();
288 bool MigrateToVersion57AddFullNameField();
287 289
288 // Max data length saved in the table; 290 // Max data length saved in the table;
289 static const size_t kMaxDataLength; 291 static const size_t kMaxDataLength;
290 292
291 private: 293 private:
292 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill); 294 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill);
293 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges); 295 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges);
294 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_RemoveBetweenChanges); 296 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_RemoveBetweenChanges);
295 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_UpdateDontReplace); 297 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_UpdateDontReplace);
296 FRIEND_TEST_ALL_PREFIXES( 298 FRIEND_TEST_ALL_PREFIXES(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // created (on the UI thread), and cached here so that it can be used for 359 // created (on the UI thread), and cached here so that it can be used for
358 // migrations (on the DB thread). 360 // migrations (on the DB thread).
359 std::string app_locale_; 361 std::string app_locale_;
360 362
361 DISALLOW_COPY_AND_ASSIGN(AutofillTable); 363 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
362 }; 364 };
363 365
364 } // namespace autofill 366 } // namespace autofill
365 367
366 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 368 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698