Chromium Code Reviews| Index: components/os_crypt/key_storage_libsecret.h |
| diff --git a/components/os_crypt/key_storage_libsecret.h b/components/os_crypt/key_storage_libsecret.h |
| index 2560b5440bbdb2c3a23394a58583b0bdd4d7fbc4..42ce9731cbec0050a4ff0e55ffdee92d48b79232 100644 |
| --- a/components/os_crypt/key_storage_libsecret.h |
| +++ b/components/os_crypt/key_storage_libsecret.h |
| @@ -26,6 +26,12 @@ class KeyStorageLibsecret : public KeyStorageLinux { |
| private: |
| std::string AddRandomPasswordInLibsecret(); |
| + // TODO(crbug/639298) We begun storing passwords with a problematic schema. |
|
Lei Zhang
2016/08/26 21:33:56
How about something like:
Older Chromium releases
Lei Zhang
2016/08/26 21:33:56
Can you put crbug.com so one can more easily paste
cfroussios
2016/08/29 09:58:42
Done.
cfroussios
2016/08/29 09:58:42
Done.
|
| + // Here, we detect entries with the old schema and migrate them to the new |
| + // schema. |
| + // Returns the migrated password or an empty string if none we migrated. |
| + std::string Migrate(); |
| + |
| DISALLOW_COPY_AND_ASSIGN(KeyStorageLibsecret); |
| }; |