commit | fe480ed7d1e571110b13bb9ed68c0b8738209e35 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <[email protected]> | Fri Sep 15 20:51:11 2017 |
committer | Commit Bot <[email protected]> | Fri Sep 15 20:51:11 2017 |
tree | c37cfdb32859f893872b9ebc4aa3d432780ba455 | |
parent | a3265d0ca04d6bb7415687c3d7cde3f158da0504 [diff] |
[Extensions Bindings] Add a ScriptContext::context_id Add a context_id (and accessor) to ScriptContext that uniquely identifies that script context (globally, across all renderer processes) using UnguessableToken. This is already needed in messaging bindings, but could be useful other places as well (event bookkeeping). This also avoids the need to redefine logic to uniquely identify a context for native messaging bindings. Bug: 653596 Change-Id: Iffd11f97a6e645a6f31cddead4e06eeb964bb258 Reviewed-on: https://chromium-review.googlesource.com/668678 Reviewed-by: Istiaque Ahmed <[email protected]> Commit-Queue: Devlin <[email protected]> Cr-Commit-Position: refs/heads/master@{#502361}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .