blob: 4a3ad38c7a2383f2581270132b0e6f316cb74a7d [file]
// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto2";
option java_multiple_files = true;
option java_package = "org.chromium.components.sync.protocol";
option optimize_for = LITE_RUNTIME;
package sync_pb;
import "components/sync/protocol/agile_encryption_keys.proto";
import "google/protobuf/timestamp.proto";
// Access token wrapping an encrypted payload and key name.
message TabContextContainerAccessToken {
// Plaintext structure serialized and encrypted into `encrypted_payload`
// using the ephemeral key identified by `name`.
message Payload {
optional AgileSymmetricKeySet container_key = 1;
}
optional string name = 1;
optional bytes encrypted_payload = 2;
optional google.protobuf.Timestamp expire_time = 3;
}