Chromium changes: https://chromium.googlesource.com/chromium/src/+/eaa603b83498b4e85a7be4be7a167ec1a6cc819d commit eaa603b83498b4e85a7be4be7a167ec1a6cc819d Author: Tom Anderson <thomasanderson@chromium.org> Date: Fri Oct 24 12:11:23 2025 -0700 Move os_crypt/sync and os_crypt/async shared code to os_crypt/common COMPONENT_EXPORT(OS_CRYPT) is removed from KeychainPassword and os_crypt::switches since they're now part of a source_set. Change-Id: I9da3d53ef42a30dcbbb487b5702b934bd8f10232 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7081087 Reviewed-by: David Benjamin <davidben@chromium.org> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Peter Kvitek <kvitekp@chromium.org> Commit-Queue: David Benjamin <davidben@chromium.org> Cr-Commit-Position: refs/heads/main@{#1535223}
20 lines
841 B
Diff
20 lines
841 B
Diff
diff --git a/components/os_crypt/common/keychain_password_mac.mm b/components/os_crypt/common/keychain_password_mac.mm
|
|
index caa0e420956a31be1bd744319a0e40a0e50b46cf..bec8afffa4ed8320c8e5040968268ad71dc952cd 100644
|
|
--- a/components/os_crypt/common/keychain_password_mac.mm
|
|
+++ b/components/os_crypt/common/keychain_password_mac.mm
|
|
@@ -73,12 +73,14 @@ std::string AddRandomPasswordToKeychain(const Keychain& keychain,
|
|
|
|
// static
|
|
KeychainPassword::KeychainNameType& KeychainPassword::GetServiceName() {
|
|
+ BRAVE_GET_SERVICE_NAME
|
|
static KeychainNameContainerType service_name(kDefaultServiceName);
|
|
return *service_name;
|
|
}
|
|
|
|
// static
|
|
KeychainPassword::KeychainNameType& KeychainPassword::GetAccountName() {
|
|
+ BRAVE_GET_ACCOUNT_NAME
|
|
static KeychainNameContainerType account_name(kDefaultAccountName);
|
|
return *account_name;
|
|
}
|