summaryrefslogtreecommitdiffstats
path: root/toolkit/components/cookiebanners/cookieBanner.proto
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /toolkit/components/cookiebanners/cookieBanner.proto
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/cookiebanners/cookieBanner.proto')
-rw-r--r--toolkit/components/cookiebanners/cookieBanner.proto25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolkit/components/cookiebanners/cookieBanner.proto b/toolkit/components/cookiebanners/cookieBanner.proto
new file mode 100644
index 0000000000..ae20fed484
--- /dev/null
+++ b/toolkit/components/cookiebanners/cookieBanner.proto
@@ -0,0 +1,25 @@
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package mozilla.cookieBanner;
+
+// Represent the SOCS cookie used to store GDPR choice on the google search.
+message GoogleSOCSCookie {
+ // The GDPR choice. 1 means reject All and 2 means Accept or Custom.
+ required uint32 gdpr_choice = 1;
+ message extraData {
+ required uint32 unused1 = 1;
+ // The value Represents where does the consent is set. We will use this
+ // value to differentiate Accept and Custom.
+ required string platform = 2;
+ required string region = 3;
+ required uint32 unused2 = 4;
+ }
+ required extraData data = 2;
+
+ message timeData {
+ required uint64 timeStamp = 1;
+ }
+ required timeData time = 3;
+}