
Add a generic "stable ID" to WebLocalFrame. The embedder can set this when creating an isolated world with WebIsolatedWorldInfo and retrieve it with an accessor on WebLocalFrame. Extensions set this to host_id. Also exposes the human readable name which already exists in WebLocalFrame through an accessor. V8PerFrameMemoryDecorator will retrieve the stable ID and human readable name to annotate the memory usage of non-main isolated worlds. R=siggi,jochen Bug: 1080672 Change-Id: I01bdc6a2d6fd404053a0990cad9e9855189e9584 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231668 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Reviewed-by: Will Harris <wfh@chromium.org> Reviewed-by: Sigurður Ásgeirsson <siggi@chromium.org> Commit-Queue: Will Harris <wfh@chromium.org> Auto-Submit: Joe Mason <joenotcharles@chromium.org> Cr-Commit-Position: refs/heads/master@{#777509}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: