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

Unified Diff: components/autofill/core/browser/autofill_profile.h

Issue 996973003: Revamp Autofill Wallet settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac compiles Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_profile.h
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h
index e5cef3f043ff255d1d7453708a150dc2dc22402f..597ff0418dc89e1c2b3ee66444eafd7695ea65b8 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -34,6 +34,9 @@ class AutofillProfile : public AutofillDataModel {
// A profile synced down from the server. These are read-only locally.
SERVER_PROFILE,
+
+ // An auxiliary profile, such as a Mac address book entry.
+ AUXILIARY_PROFILE,
};
AutofillProfile(const std::string& guid, const std::string& origin);
@@ -69,6 +72,7 @@ class AutofillProfile : public AutofillDataModel {
// How this card is stored.
RecordType record_type() const { return record_type_; }
+ void set_record_type(RecordType type) { record_type_ = type; }
// Multi-value equivalents to |GetInfo| and |SetInfo|.
void SetRawMultiInfo(ServerFieldType type,
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/personal_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698