Skip to content

Commit

Permalink
Update to Chrome DevTools Protocol version 1402036
Browse files Browse the repository at this point in the history
  • Loading branch information
Protocol Update Workflow authored and joffrey-bion committed Jan 8, 2025
1 parent 8ea4b15 commit b91f397
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
38 changes: 38 additions & 0 deletions api/chrome-devtools-kotlin.api
Original file line number Diff line number Diff line change
Expand Up @@ -31762,6 +31762,8 @@ public final class org/hildan/chrome/devtools/domains/network/NetworkDomain {
public final fun setCookie (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setCookie (Lorg/hildan/chrome/devtools/domains/network/SetCookieRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun setCookie$default (Lorg/hildan/chrome/devtools/domains/network/NetworkDomain;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public final fun setCookieControls (Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setCookieControls (ZZZLkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setCookies (Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setCookies (Lorg/hildan/chrome/devtools/domains/network/SetCookiesRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setExtraHTTPHeaders (Lkotlinx/serialization/json/JsonObject;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -32944,6 +32946,42 @@ public final class org/hildan/chrome/devtools/domains/network/SetCookieBlockedRe
public fun toString ()Ljava/lang/String;
}

public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$Companion;
public fun <init> (ZZZ)V
public final fun component1 ()Z
public final fun component2 ()Z
public final fun component3 ()Z
public final fun copy (ZZZ)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;ZZZILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getDisableThirdPartyCookieHeuristics ()Z
public final fun getDisableThirdPartyCookieMetadata ()Z
public final fun getEnableThirdPartyCookieRestriction ()Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsResponse {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsResponse;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/network/SetCookieRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/network/SetCookieRequest$Companion;
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/hildan/chrome/devtools/domains/network/CookieSameSite;Ljava/lang/Double;Lorg/hildan/chrome/devtools/domains/network/CookiePriority;Ljava/lang/Boolean;Lorg/hildan/chrome/devtools/domains/network/CookieSourceScheme;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/network/CookiePartitionKey;)V
Expand Down
22 changes: 22 additions & 0 deletions protocol-definition/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -15309,6 +15309,28 @@
"$ref": "LoadNetworkResourcePageResult"
}
]
},
{
"name": "setCookieControls",
"description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed",
"experimental": true,
"parameters": [
{
"name": "enableThirdPartyCookieRestriction",
"description": "Whether 3pc restriction is enabled.",
"type": "boolean"
},
{
"name": "disableThirdPartyCookieMetadata",
"description": "Whether 3pc grace period exception should be enabled; false by default.",
"type": "boolean"
},
{
"name": "disableThirdPartyCookieHeuristics",
"description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
"type": "boolean"
}
]
}
],
"events": [
Expand Down
2 changes: 1 addition & 1 deletion protocol-definition/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1400418
1402036

0 comments on commit b91f397

Please sign in to comment.