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

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

Issue 1220093003: Only UTF-8 sync tags for Wallet metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Constants for strings. Created 5 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: 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 433099ac6dc9b21c58751459489de3b3f2bb802f..f96628a5f92fd5293bbe0984c3faf3e61ec8a53e 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -160,7 +160,8 @@ class AutofillProfile : public AutofillDataModel {
language_code_ = language_code;
}
- // Nonempty only when type() == SERVER_PROFILE.
+ // Nonempty only when type() == SERVER_PROFILE. base::kSHA1Length bytes long.
+ // Not necessarily valid UTF-8.
const std::string& server_id() const { return server_id_; }
// Creates an identifier and saves it as |server_id_|. Only used for

Powered by Google App Engine
This is Rietveld 408576698