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

Unified Diff: components/os_crypt/keyring_util_linux.cc

Issue 2297573002: Implement gnome-keyring for OSCrypt (Closed)
Patch Set: removed thread checker Created 4 years, 3 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 | « components/os_crypt/keyring_util_linux.h ('k') | components/os_crypt/os_crypt_mocker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt/keyring_util_linux.cc
diff --git a/components/os_crypt/keyring_util_linux.cc b/components/os_crypt/keyring_util_linux.cc
index 300a344b985516953eea0d940a7592c5b15a8c37..aa67be03fd921ec73bb9edbfd5f3a82588fe78f1 100644
--- a/components/os_crypt/keyring_util_linux.cc
+++ b/components/os_crypt/keyring_util_linux.cc
@@ -16,6 +16,11 @@ decltype(&::gnome_keyring_delete_password)
GnomeKeyringLoader::gnome_keyring_delete_password_ptr;
decltype(&::gnome_keyring_find_items)
GnomeKeyringLoader::gnome_keyring_find_items_ptr;
+decltype(&::gnome_keyring_find_password_sync)
+ GnomeKeyringLoader::gnome_keyring_find_password_sync_ptr;
+decltype(&::gnome_keyring_store_password_sync)
+ GnomeKeyringLoader::gnome_keyring_store_password_sync_ptr;
+
decltype(&::gnome_keyring_result_to_message)
GnomeKeyringLoader::gnome_keyring_result_to_message_ptr;
decltype(&::gnome_keyring_attribute_list_free)
@@ -26,6 +31,8 @@ decltype(&::gnome_keyring_attribute_list_append_string)
GnomeKeyringLoader::gnome_keyring_attribute_list_append_string_ptr;
decltype(&::gnome_keyring_attribute_list_append_uint32)
GnomeKeyringLoader::gnome_keyring_attribute_list_append_uint32_ptr;
+decltype(&::gnome_keyring_free_password)
+ GnomeKeyringLoader::gnome_keyring_free_password_ptr;
bool GnomeKeyringLoader::keyring_loaded = false;
@@ -38,6 +45,11 @@ const GnomeKeyringLoader::FunctionInfo GnomeKeyringLoader::functions[] = {
reinterpret_cast<void**>(&gnome_keyring_delete_password_ptr)},
{"gnome_keyring_find_items",
reinterpret_cast<void**>(&gnome_keyring_find_items_ptr)},
+ {"gnome_keyring_find_password_sync",
+ reinterpret_cast<void**>(&gnome_keyring_find_password_sync_ptr)},
+ {"gnome_keyring_store_password_sync",
+ reinterpret_cast<void**>(&gnome_keyring_store_password_sync_ptr)},
+
{"gnome_keyring_result_to_message",
reinterpret_cast<void**>(&gnome_keyring_result_to_message_ptr)},
{"gnome_keyring_attribute_list_free",
@@ -47,8 +59,9 @@ const GnomeKeyringLoader::FunctionInfo GnomeKeyringLoader::functions[] = {
{"gnome_keyring_attribute_list_append_string",
reinterpret_cast<void**>(&gnome_keyring_attribute_list_append_string_ptr)},
{"gnome_keyring_attribute_list_append_uint32",
- reinterpret_cast<void**>(
- &gnome_keyring_attribute_list_append_uint32_ptr)}};
+ reinterpret_cast<void**>(&gnome_keyring_attribute_list_append_uint32_ptr)},
+ {"gnome_keyring_free_password",
+ reinterpret_cast<void**>(&gnome_keyring_free_password_ptr)}};
/* Load the library and initialize the function pointers. */
bool GnomeKeyringLoader::LoadGnomeKeyring() {
« no previous file with comments | « components/os_crypt/keyring_util_linux.h ('k') | components/os_crypt/os_crypt_mocker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698