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

Unified Diff: components/os_crypt/key_storage_libsecret.h

Issue 2273723002: Migrate Libsecret for OSCrypt to a new schema (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 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
« no previous file with comments | « no previous file | components/os_crypt/key_storage_libsecret.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..18f7ad34de6f1d0c69661c5815947fa7dedbdcde 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.com/639298) Older Chromium releases stored passwords with a
+ // problematic schema. Detect password 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);
};
« no previous file with comments | « no previous file | components/os_crypt/key_storage_libsecret.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698