Index: components/signin/core/account_id/account_id.h |
diff --git a/components/signin/core/account_id/account_id.h b/components/signin/core/account_id/account_id.h |
index 4bc02054a86caede0d828110db4523693b789483..81082b5fe0445252c4c272afde8c676e33e7b5dd 100644 |
--- a/components/signin/core/account_id/account_id.h |
+++ b/components/signin/core/account_id/account_id.h |
@@ -24,6 +24,13 @@ class AccountId { |
public: |
struct EmptyAccountId; |
+ // Creates an empty account id. |
+ // |
+ // Note: This constructor is public as it is required for mojo serialization |
+ // To create an AccountId object, prefer using the static FromXXXX methods or |
+ // the EmptyAccountId method when creating an empty account id. |
+ AccountId(); |
+ |
AccountId(const AccountId& other); |
// If any of the comparable AccountIds has AccountType == UNKNOWN then it |
@@ -90,7 +97,6 @@ class AccountId { |
AccountId* out_account_id); |
private: |
- AccountId(); |
AccountId(const std::string& id, |
const std::string& user_email, |
const AccountType& account_type); |