// Copyright 2024 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.sharing_message.proto";
package sharing_message;
// Required in Chrome.
option optimize_for = LITE_RUNTIME;
// Enum for identifying a message type.
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused. Keep this in sync with
// SharingMessageType in enums.xml.
enum MessageType {
UNKNOWN_MESSAGE = 0;
PING_MESSAGE = 1;
ACK_MESSAGE = 2;
CLICK_TO_CALL_MESSAGE = 3;
SHARED_CLIPBOARD_MESSAGE = 4;
SMS_FETCH_REQUEST = 5;
REMOTE_COPY_MESSAGE = 6;
PEER_CONNECTION_OFFER_MESSAGE = 7;
PEER_CONNECTION_ICE_CANDIDATES_MESSAGE = 8;
DISCOVERY_REQUEST = 9;
WEB_RTC_SIGNALING_FRAME = 10;
OPTIMIZATION_GUIDE_PUSH_NOTIFICATION = 11;
SEND_TAB_TO_SELF_PUSH_NOTIFICATION = 12;
}