ungoogled/existing-switches: fix webrtc switch flag values (#426)

fixes #425
This commit is contained in:
jj
2025-11-12 21:41:07 +01:00
committed by GitHub
parent b3d929f6e2
commit 232f940dbd

View File

@@ -15,7 +15,7 @@
#include "build/chromeos_buildflags.h"
--- /dev/null
+++ b/chrome/browser/existing_switch_flag_choices.h
@@ -0,0 +1,19 @@
@@ -0,0 +1,21 @@
+// Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE.ungoogled_chromium file.
@@ -24,15 +24,17 @@
+#define CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_
+const FeatureEntry::Choice kWebRTCIPPolicy[] = {
+ {"Default public interface only",
+ "webrtc-ip-handling-policy",
+ "default_public_interface_only"},
+ "",
+ ""},
+ {"Default",
+ "webrtc-ip-handling-policy",
+ "default"},
+ {"Default public and private interfaces",
+ "webrtc-ip-handling-policy",
+ "default_public_and_private_interfaces"},
+ {"Disable non proxied udp", "", ""},
+ {"Disable non proxied udp",
+ "webrtc-ip-handling-policy",
+ "disable_non_proxied_udp"},
+};
+#endif // CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_
--- /dev/null