Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Issue 648853007: Add handle waiting to StashBackend. (Closed)

Created:
6 years, 1 month ago by Sam McNally
Modified:
5 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, chromium-apps-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/cf7d082ec44c27d7842da839aaf629a9648e0462 Cr-Commit-Position: refs/heads/master@{#314989}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -30 lines) Patch
M extensions/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/mojo/stash_backend.h View 1 2 3 3 chunks +15 lines, -5 lines 0 comments Download
M extensions/browser/mojo/stash_backend.cc View 1 2 3 2 chunks +118 lines, -24 lines 0 comments Download
M extensions/browser/mojo/stash_backend_unittest.cc View 1 2 5 chunks +121 lines, -1 line 0 comments Download
M extensions/common/mojo/stash.mojom View 1 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/extensions_tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Sam McNally
6 years, 1 month ago (2014-10-29 02:34:13 UTC) #2
Sam McNally
+amistry
5 years, 10 months ago (2015-01-29 03:56:07 UTC) #5
Anand Mistry (off Chromium)
lgtm As-is, I can't see any issues with the implementation (modulo a few minor nits). ...
5 years, 10 months ago (2015-02-05 11:10:33 UTC) #6
Sam McNally
+rockot https://codereview.chromium.org/648853007/diff/40001/extensions/browser/mojo/stash_backend.cc File extensions/browser/mojo/stash_backend.cc (right): https://codereview.chromium.org/648853007/diff/40001/extensions/browser/mojo/stash_backend.cc#newcode60 extensions/browser/mojo/stash_backend.cc:60: // Construct an StashEntry for |stashed_object|. If |on_handle_readable| ...
5 years, 10 months ago (2015-02-05 23:35:31 UTC) #9
Ken Rockot(use gerrit already)
neat. just a few comments but lgtm https://codereview.chromium.org/648853007/diff/60001/extensions/browser/mojo/stash_backend.cc File extensions/browser/mojo/stash_backend.cc (right): https://codereview.chromium.org/648853007/diff/60001/extensions/browser/mojo/stash_backend.cc#newcode14 extensions/browser/mojo/stash_backend.cc:14: class StashServiceImpl ...
5 years, 10 months ago (2015-02-06 04:21:27 UTC) #10
Sam McNally
https://codereview.chromium.org/648853007/diff/60001/extensions/browser/mojo/stash_backend.cc File extensions/browser/mojo/stash_backend.cc (right): https://codereview.chromium.org/648853007/diff/60001/extensions/browser/mojo/stash_backend.cc#newcode14 extensions/browser/mojo/stash_backend.cc:14: class StashServiceImpl : public mojo::InterfaceImpl<StashService> { On 2015/02/06 04:21:27, ...
5 years, 10 months ago (2015-02-06 05:48:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648853007/80001
5 years, 10 months ago (2015-02-06 05:49:02 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 10 months ago (2015-02-06 06:46:57 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 06:47:47 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cf7d082ec44c27d7842da839aaf629a9648e0462
Cr-Commit-Position: refs/heads/master@{#314989}

Powered by Google App Engine
This is Rietveld 408576698