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

Unified Diff: chrome/browser/autofill/autofill_profile.h

Issue 2884051: Merge 53276 - AutoFill Empty profiles should not be saved from AutoFillDialog... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_profile.h
===================================================================
--- chrome/browser/autofill/autofill_profile.h (revision 54215)
+++ chrome/browser/autofill/autofill_profile.h (working copy)
@@ -80,6 +80,10 @@
std::vector<string16>* created_labels,
size_t minimal_fields_shown,
AutoFillFieldType exclude_field);
+
+ // Returns true if there are no values (field types) set.
+ bool IsEmpty() const;
+
// For use in STL containers.
void operator=(const AutoFillProfile&);
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm ('k') | chrome/browser/autofill/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698