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

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: . 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..8c68a516c48cadfc6f0a72aae6c61973942c5bde 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.
please use gerrit instead 2015/03/12 20:40:12 nit: add and example (Mac AddressBook).
Evan Stade 2015/03/12 21:28:03 Done.
+ 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,

Powered by Google App Engine
This is Rietveld 408576698