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() { |