From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- toolkit/components/glean/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toolkit/components/glean/src') diff --git a/toolkit/components/glean/src/lib.rs b/toolkit/components/glean/src/lib.rs index b682f43066..6c9af50183 100644 --- a/toolkit/components/glean/src/lib.rs +++ b/toolkit/components/glean/src/lib.rs @@ -197,12 +197,12 @@ pub extern "C" fn fog_test_get_experiment_data( /// /// See [`glean_core::Glean::set_metrics_disabled_config`]. #[no_mangle] -pub extern "C" fn fog_set_metrics_feature_config(config_json: &nsACString) { +pub extern "C" fn fog_apply_server_knobs_config(config_json: &nsACString) { // Normalize null and empty strings to a stringified empty map if config_json == "null" || config_json.is_empty() { - glean::glean_set_metrics_enabled_config("{}".to_owned()); + glean::glean_apply_server_knobs_config("{}".to_owned()); } - glean::glean_set_metrics_enabled_config(config_json.to_string()); + glean::glean_apply_server_knobs_config(config_json.to_string()); } /// Performs Glean tasks when client state changes to inactive -- cgit v1.2.3