OCaml 4.14.0 rebuild
[arch-packages.git] / chromium / trunk / use-oauth2-client-switches-as-default.patch
blob9d9c57bfb0d2156e0b80ef66437188d21e3891f2
1 diff -upr chromium-89.0.4389.58.orig/google_apis/google_api_keys.cc chromium-89.0.4389.58/google_apis/google_api_keys.cc
2 --- chromium-89.0.4389.58.orig/google_apis/google_api_keys.cc 2021-02-24 22:37:18.494007649 +0000
3 +++ chromium-89.0.4389.58/google_apis/google_api_keys.cc 2021-02-24 22:35:00.865777600 +0000
4 @@ -154,11 +154,11 @@ class APIKeyCache {
6 std::string default_client_id = CalculateKeyValue(
7 GOOGLE_DEFAULT_CLIENT_ID,
8 - STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), nullptr,
9 + STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), ::switches::kOAuth2ClientID,
10 std::string(), environment.get(), command_line, gaia_config);
11 std::string default_client_secret = CalculateKeyValue(
12 GOOGLE_DEFAULT_CLIENT_SECRET,
13 - STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), nullptr,
14 + STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), ::switches::kOAuth2ClientSecret,
15 std::string(), environment.get(), command_line, gaia_config);
17 // We currently only allow overriding the baked-in values for the