Session SNSS Commands

160 views
Skip to first unread message

Squiblydoo

unread,
Dec 9, 2022, 8:55:39 AM12/9/22
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
};


PhistucK

unread,
Dec 9, 2022, 8:57:09 AM12/9/22
to squib...@gmail.com, Chromium-discuss

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

squib...@gmail.com

unread,
Dec 11, 2022, 11:04:53 AM12/11/22
to Chromium-discuss, PhistucK, Chromium-discuss, squib...@gmail.com
Oh, nice! That was exactly what I needed. Thank you. :)
Reply all
Reply to author
Forward
0 new messages