summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2022-06-08 08:41:15 -0400
committerShokara Kou <kou@13f0.net>2022-06-08 08:41:15 -0400
commit2be1931967e4073a55d7ac3e3ecdff7c825a63f4 (patch)
treefbccd4a9f89d535835c1cb711c3c36d03baee871 /www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch
parent312b6669fd956f3e97dd005c1441152fb4e568ec (diff)
update ugc to 102.0.5005.61-3
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch')
-rw-r--r--www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch
index 167eaec..a2c6fc9 100644
--- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch
+++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-components-ungoogled.patch
@@ -1,7 +1,7 @@
1# Add ungoogled-chromium-specific code to components/ungoogled/ 1# Add ungoogled-chromium-specific code to components/ungoogled/
2 2
3--- /dev/null 3--- /dev/null
4+++ components/ungoogled/BUILD.gn 4+++ b/components/ungoogled/BUILD.gn
5@@ -0,0 +1,14 @@ 5@@ -0,0 +1,14 @@
6+# Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. 6+# Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved.
7+# Use of this source code is governed by a BSD-style license that can be 7+# Use of this source code is governed by a BSD-style license that can be
@@ -18,8 +18,8 @@
18+ deps = [ "//base" ] 18+ deps = [ "//base" ]
19+} 19+}
20--- /dev/null 20--- /dev/null
21+++ components/ungoogled/ungoogled_switches.cc 21+++ b/components/ungoogled/ungoogled_switches.cc
22@@ -0,0 +1,21 @@ 22@@ -0,0 +1,18 @@
23+// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. 23+// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved.
24+// Use of this source code is governed by a BSD-style license that can be 24+// Use of this source code is governed by a BSD-style license that can be
25+// found in the LICENSE file. 25+// found in the LICENSE file.
@@ -37,13 +37,10 @@
37+// Enable fingerprinting deception for Canvas image data 37+// Enable fingerprinting deception for Canvas image data
38+const char kFingerprintingCanvasImageDataNoise[] = "fingerprinting-canvas-image-data-noise"; 38+const char kFingerprintingCanvasImageDataNoise[] = "fingerprinting-canvas-image-data-noise";
39+ 39+
40+// Set PDF Plugin name, for websites that analyze JavaScript API navigator.plugins
41+const char kPDFPluginName[] = "pdf-plugin-name";
42+
43+} // namespace switches 40+} // namespace switches
44--- /dev/null 41--- /dev/null
45+++ components/ungoogled/ungoogled_switches.h 42+++ b/components/ungoogled/ungoogled_switches.h
46@@ -0,0 +1,21 @@ 43@@ -0,0 +1,20 @@
47+// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. 44+// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved.
48+// Use of this source code is governed by a BSD-style license that can be 45+// Use of this source code is governed by a BSD-style license that can be
49+// found in the LICENSE file. 46+// found in the LICENSE file.
@@ -60,7 +57,6 @@
60+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingClientRectsNoise[]; 57+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingClientRectsNoise[];
61+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasMeasureTextNoise[]; 58+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasMeasureTextNoise[];
62+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasImageDataNoise[]; 59+COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasImageDataNoise[];
63+COMPONENT_EXPORT(UNGOOGLED) extern const char kPDFPluginName[];
64+ 60+
65+} 61+}
66+ 62+