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

Side by Side Diff: components/autofill/core/browser/autofill_manager.h

Issue 442403002: Adjust displayed phone number for prefix/suffix case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicate documentation. Created 6 years, 3 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_AUTOFILL_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 // |updated_form|. Returns false if the cache could not be updated. 252 // |updated_form|. Returns false if the cache could not be updated.
253 bool UpdateCachedForm(const FormData& live_form, 253 bool UpdateCachedForm(const FormData& live_form,
254 const FormStructure* cached_form, 254 const FormStructure* cached_form,
255 FormStructure** updated_form) WARN_UNUSED_RESULT; 255 FormStructure** updated_form) WARN_UNUSED_RESULT;
256 256
257 // Returns a list of values from the stored profiles that match |type| and the 257 // Returns a list of values from the stored profiles that match |type| and the
258 // value of |field| and returns the labels of the matching profiles. |labels| 258 // value of |field| and returns the labels of the matching profiles. |labels|
259 // is filled with the Profile label. 259 // is filled with the Profile label.
260 void GetProfileSuggestions(const FormStructure& form, 260 void GetProfileSuggestions(const FormStructure& form,
261 const FormFieldData& field, 261 const FormFieldData& field,
262 const AutofillType& type, 262 const AutofillField& autofill_field,
263 std::vector<base::string16>* values, 263 std::vector<base::string16>* values,
264 std::vector<base::string16>* labels, 264 std::vector<base::string16>* labels,
265 std::vector<base::string16>* icons, 265 std::vector<base::string16>* icons,
266 std::vector<int>* unique_ids) const; 266 std::vector<int>* unique_ids) const;
267 267
268 // Returns a list of values from the stored credit cards that match |type| and 268 // Returns a list of values from the stored credit cards that match |type| and
269 // the value of |field| and returns the labels of the matching credit cards. 269 // the value of |field| and returns the labels of the matching credit cards.
270 void GetCreditCardSuggestions(const FormFieldData& field, 270 void GetCreditCardSuggestions(const FormFieldData& field,
271 const AutofillType& type, 271 const AutofillType& type,
272 std::vector<base::string16>* values, 272 std::vector<base::string16>* values,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 UserHappinessFormLoadAndSubmission); 374 UserHappinessFormLoadAndSubmission);
375 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 375 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
376 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 376 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
377 FormSubmittedAutocompleteEnabled); 377 FormSubmittedAutocompleteEnabled);
378 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 378 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
379 }; 379 };
380 380
381 } // namespace autofill 381 } // namespace autofill
382 382
383 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 383 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_field.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698