| Index: components/user_manager/known_user.h
|
| diff --git a/components/user_manager/known_user.h b/components/user_manager/known_user.h
|
| index aa02b2fc6373bcf355b81fd9c0b78b6eab3b6a9f..d89f877c0edd70dff465192bfdf7af84ce54adae 100644
|
| --- a/components/user_manager/known_user.h
|
| +++ b/components/user_manager/known_user.h
|
| @@ -6,6 +6,7 @@
|
| #define COMPONENTS_USER_MANAGER_KNOWN_USER_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "components/user_manager/user_manager_export.h"
|
|
|
| @@ -68,12 +69,20 @@ void USER_MANAGER_EXPORT SetIntegerPref(const AccountId& account_id,
|
| const std::string& path,
|
| const int in_value);
|
|
|
| +// Returns the list of known AccountIds.
|
| +std::vector<AccountId> USER_MANAGER_EXPORT GetKnownAccountIds();
|
| +
|
| // This call forms full account id of a known user by email and (optionally)
|
| // gaia_id.
|
| // This is a temporary call while migrating to AccountId.
|
| AccountId USER_MANAGER_EXPORT GetAccountId(const std::string& user_email,
|
| const std::string& gaia_id);
|
|
|
| +// This call first tries to deserialize AccountId. If it fails, it calls
|
| +// GetAccountId() with empty gaia id.
|
| +AccountId USER_MANAGER_EXPORT
|
| +MayBeDeserializeAccountId(const std::string& maybe_serialized_account_id);
|
| +
|
| // Returns true if |subsystem| data was migrated to GaiaId for the |account_id|.
|
| bool USER_MANAGER_EXPORT GetGaiaIdMigrationStatus(const AccountId& account_id,
|
| const std::string& subsystem);
|
|
|