diff options
author | sL1pKn07 | 2024-04-21 21:17:26 +0200 |
---|---|---|
committer | sL1pKn07 | 2024-04-21 21:18:52 +0200 |
commit | d9a1c7f42326707d9f4148e0c95d21eca57efcd2 (patch) | |
tree | a3fbc955430493d1fd48a09364bbb49fe4674d74 /use-oauth2-client-switches-as-default.patch | |
parent | f6b3123b752b471cbf6132e885c59f8bbdcee9fa (diff) | |
download | aur-d9a1c7f42326707d9f4148e0c95d21eca57efcd2.tar.gz |
Update to 126.0.6423.2
Diffstat (limited to 'use-oauth2-client-switches-as-default.patch')
-rw-r--r-- | use-oauth2-client-switches-as-default.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/use-oauth2-client-switches-as-default.patch b/use-oauth2-client-switches-as-default.patch new file mode 100644 index 000000000000..de5cc78aabff --- /dev/null +++ b/use-oauth2-client-switches-as-default.patch @@ -0,0 +1,17 @@ +diff -upr chromium-89.0.4389.58.orig/google_apis/google_api_keys-inc.cc chromium-89.0.4389.58/google_apis/google_api_keys-inc.cc +--- chromium-89.0.4389.58.orig/google_apis/google_api_keys-inc.cc 2021-02-24 22:37:18.494007649 +0000 ++++ chromium-89.0.4389.58/google_apis/google_api_keys-inc.cc 2021-02-24 22:35:00.865777600 +0000 +@@ -154,11 +154,11 @@ class APIKeyCache { + + std::string default_client_id = CalculateKeyValue( + GOOGLE_DEFAULT_CLIENT_ID, +- STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), nullptr, ++ STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), ::switches::kOAuth2ClientID, + std::string(), environment.get(), command_line, gaia_config); + std::string default_client_secret = CalculateKeyValue( + GOOGLE_DEFAULT_CLIENT_SECRET, +- STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), nullptr, ++ STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), ::switches::kOAuth2ClientSecret, + std::string(), environment.get(), command_line, gaia_config); + + // We currently only allow overriding the baked-in values for the |