HistoryAddPageArgs used to have both a ContextID and a page id. Page ids were unique within a WebContents, so a ContextID was generated for a WebContents (see history::ContextIDForWebContents), and the (ContextID, page id) tuple was used in History.
I killed page id years ago, and replaced its use in the history service with the NavigationEntry's unique id. That id is unique across all of Chrome during a session.
Yet the docs say that the id needs to be scoped by the context id. Now that the id is really globally unique per session, can we remove the concept of "context id"?
Comment 1 by bugdroid1@chromium.org
, Jul 6