Squiblydoo
unread,Dec 9, 2022, 8:55:39 AM12/9/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-discuss
Greetings!
Is anyone aware of where the SNSS Command types are defined?
I'm currently in the process of reverse engineering the SNSS file type that is used in the Session files. I am referencing some other open source projects and the chromium source code itself to understand the structure of the SNSS Commands, however, I suspect that there are additional details within the Chromium source code or project that can help me, but I haven't found them yet.
I am trying to identify the name of the SNSS commands, the components of the commands, and the data types in the commands. I've been able to find some of the components and datatypes, but I haven't found any sources that help me match each command to an uint8 integer.
In case it clarifies my question, below is an enum of what I currently have:
enum command_type : u8 {
SetTabWindow = 0,
Unknown = 1,
SetTabIndexInWindow = 2,
TabClosed = 3,
WindowClosed = 4,
UpdateTabNavigationPathPrunedFromBack = 5,
UpdateTabNavigation = 6,
SetSelectedNavigationIndex = 7,
SetSelectedTabInIndex = 8,
SetWindowType = 9,
Unknown = 10,
TabNavigationPathPrunedFromFront = 11,
SetPinnedState = 12,
SetExtensionAppID = 13,
SetWindowBounds3 = 14,
Unknown = 15,
TabClosed = 16,
WindowClosed = 17,
Unknown = 18,
SessionStorageAssociated = 19,
SetActiveWindow = 20,
LastActiveTime = 21,
Unknown = 22,
SetWindowWorkspace2 = 23,
Unknown = 24,
Unknown = 25,
Unknown = 26,
Unknown = 27,
Unknown = 28,
Unknown = 29,
Unknown = 30,
Unknown = 31,
Unknown = 32
};