diff options
author | sammc <sammc@chromium.org> | 2015-02-05 22:46:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-06 06:47:09 +0000 |
commit | cf7d082ec44c27d7842da839aaf629a9648e0462 (patch) | |
tree | 98df40c760ca43825f84ea67b0e466d63dc2c231 /extensions/common/mojo | |
parent | c597cef34788d703e14fe1b08c8335314a966294 (diff) | |
download | chromium_src-cf7d082ec44c27d7842da839aaf629a9648e0462.zip chromium_src-cf7d082ec44c27d7842da839aaf629a9648e0462.tar.gz chromium_src-cf7d082ec44c27d7842da839aaf629a9648e0462.tar.bz2 |
Add handle waiting to StashBackend.
This change adds support for monitoring stashed handles for being
readable. This will be used to relaunch suspended extension processes
when a persistent service sends a message or data to its client in the
suspended extension process.
BUG=389016
Review URL: https://codereview.chromium.org/648853007
Cr-Commit-Position: refs/heads/master@{#314989}
Diffstat (limited to 'extensions/common/mojo')
-rw-r--r-- | extensions/common/mojo/stash.mojom | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/mojo/stash.mojom b/extensions/common/mojo/stash.mojom index 6cc4908..5c1e68b 100644 --- a/extensions/common/mojo/stash.mojom +++ b/extensions/common/mojo/stash.mojom @@ -17,6 +17,10 @@ struct StashedObject { // The handles contained within the serialization struct. array<handle> stashed_handles; + + // Whether to monitor |stashed_handles| and relaunch the client when a handle + // becomes readable. + bool monitor_handles = false; }; interface StashService { |