Private network access content settings: enable kLocalNetworkAccessChecksWebRTC by default (#2161)
Also activate the implementation of Chromium
This commit is contained in:
@@ -12,10 +12,10 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
|
||||
.../insecure_private_network.grdp | 18 ++++
|
||||
.../insecure_private_network.inc | 25 +++++
|
||||
.../INSECURE_PRIVATE_NETWORK.inc | 3 +
|
||||
...rivate-network-access-content-settings.inc | 1 +
|
||||
...rivate-network-access-content-settings.inc | 2 +
|
||||
services/network/cors/cors_url_loader.cc | 2 +-
|
||||
services/network/public/cpp/features.cc | 2 +-
|
||||
8 files changed, 175 insertions(+), 5 deletions(-)
|
||||
8 files changed, 176 insertions(+), 5 deletions(-)
|
||||
create mode 100644 components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/impl/BromiteInsecurePrivateNetworkContentSetting.java
|
||||
create mode 100644 components/browser_ui/strings/bromite_content_settings/insecure_private_network.grdp
|
||||
create mode 100644 components/content_settings/core/browser/bromite_content_settings/insecure_private_network.inc
|
||||
@@ -241,8 +241,9 @@ diff --git a/cromite_flags/services/network/public/cpp/features_cc/Private-netwo
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ b/cromite_flags/services/network/public/cpp/features_cc/Private-network-access-content-settings.inc
|
||||
@@ -0,0 +1 @@
|
||||
@@ -0,0 +1,2 @@
|
||||
+SET_CROMITE_FEATURE_ENABLED(kLocalNetworkAccessChecks);
|
||||
+SET_CROMITE_FEATURE_ENABLED(kLocalNetworkAccessChecksWebRTC);
|
||||
diff --git a/services/network/cors/cors_url_loader.cc b/services/network/cors/cors_url_loader.cc
|
||||
--- a/services/network/cors/cors_url_loader.cc
|
||||
+++ b/services/network/cors/cors_url_loader.cc
|
||||
|
||||
Reference in New Issue
Block a user