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

Issue 365513002: Port identity_internals to mojo (Closed)

Created:
6 years, 5 months ago by Elliot Glaysher
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

mojo: Port chrome://identity-internals to mojo Web UI. BUG=391095 NOPRESUBMIT=true R=fgorski@chromium.org, jam@chromium.org, jschuh@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286247

Patch Set 1 #

Patch Set 2 : OK, it works now. #

Patch Set 3 : Rebase to ToT #

Patch Set 4 : Maybe fix the gn build. #

Total comments: 1

Patch Set 5 : Rework to use promises. #

Total comments: 1

Patch Set 6 : The browser tests work locally #

Patch Set 7 : Clean up TestNavigationObserver. #

Total comments: 6

Patch Set 8 : Use a hacked callback. #

Patch Set 9 : Rebase to ToT #

Total comments: 2

Patch Set 10 : sky fixes #

Total comments: 6

Patch Set 11 : jam review #

Patch Set 12 : patch beautification #

Total comments: 1

Patch Set 13 : jam nits #

Patch Set 14 : Rebase to ToT for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+565 lines, -760 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/identity_internals.js View 1 2 3 4 5 6 7 5 chunks +36 lines, -39 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/webui/identity_internals/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals.mojom View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_token_revoker.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_token_revoker.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_ui.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_ui.cc View 1 1 chunk +67 lines, -0 lines 0 comments Download
A + chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
A + chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js View 1 2 3 4 5 6 7 4 chunks +3 lines, -7 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_ui_handler.h View 1 2 3 4 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/identity_internals/identity_internals_ui_handler.cc View 1 2 3 4 1 chunk +120 lines, -0 lines 0 comments Download
D chrome/browser/ui/webui/identity_internals_ui.h View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/ui/webui/identity_internals_ui.cc View 1 chunk +0 lines, -314 lines 0 comments Download
D chrome/browser/ui/webui/identity_internals_ui_browsertest.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/ui/webui/identity_internals_ui_browsertest.cc View 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/ui/webui/identity_internals_ui_browsertest.js View 1 2 3 4 5 1 chunk +0 lines, -260 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_web_ui_mojo_bindings.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/js2gtest.js View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/base/web_ui_browser_test.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/base/web_ui_browser_test.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +38 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/web_ui_mojo_context_state.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -1 line 0 comments Download
M content/renderer/web_ui_mojo_context_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +19 lines, -12 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
erg
msw: fyi sky: first round review + request for advice: The one remaining thing to ...
6 years, 5 months ago (2014-07-02 22:01:08 UTC) #1
darin (slow to review)
https://codereview.chromium.org/365513002/diff/40001/chrome/browser/ui/webui/identity_internals/identity_internals.mojom File chrome/browser/ui/webui/identity_internals/identity_internals.mojom (right): https://codereview.chromium.org/365513002/diff/40001/chrome/browser/ui/webui/identity_internals/identity_internals.mojom#newcode21 chrome/browser/ui/webui/identity_internals/identity_internals.mojom:21: GetTokensDone(IdentityTokenMojo[] tokens); // was returnTokens perhaps these should be ...
6 years, 5 months ago (2014-07-04 14:27:06 UTC) #2
sky
On 2014/07/02 22:01:08, erg wrote: > msw: fyi > sky: first round review + request ...
6 years, 5 months ago (2014-07-09 19:42:58 UTC) #3
erg
https://codereview.chromium.org/365513002/diff/60001/chrome/browser/resources/identity_internals.js File chrome/browser/resources/identity_internals.js (right): https://codereview.chromium.org/365513002/diff/60001/chrome/browser/resources/identity_internals.js#newcode203 chrome/browser/resources/identity_internals.js:203: Object.create(browser.InternalsPageStub.prototype); So I've moved this to callbacks and promises. ...
6 years, 5 months ago (2014-07-11 19:29:54 UTC) #4
erg
So the test failures look like a timing problem. If I put a console.log() before ...
6 years, 5 months ago (2014-07-16 22:11:07 UTC) #5
sky
No doubt this will come up with other tests. I doubt there is a way ...
6 years, 5 months ago (2014-07-16 23:06:44 UTC) #6
Elliot Glaysher
+jschuh: I have added one IPC message, which has no parameters, and only signals that ...
6 years, 5 months ago (2014-07-21 21:56:03 UTC) #7
jschuh
On 2014/07/21 21:56:03, Elliot Glaysher wrote: > +jschuh: I have added one IPC message, which ...
6 years, 5 months ago (2014-07-21 23:55:15 UTC) #8
Elliot Glaysher
ping sky
6 years, 5 months ago (2014-07-22 21:52:40 UTC) #9
sky
Remind me which parts of this you want me to review.
6 years, 5 months ago (2014-07-22 22:28:03 UTC) #10
Elliot Glaysher
fgorski: Hi, we're currently porting various webui pages to mojo from the legacy framework. As ...
6 years, 5 months ago (2014-07-22 23:40:02 UTC) #11
fgorski
overall code looks ok in identity_internals, but I have a huge concerns about not being ...
6 years, 5 months ago (2014-07-23 19:02:10 UTC) #12
Elliot Glaysher
ptal https://codereview.chromium.org/365513002/diff/100001/chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js File chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js (left): https://codereview.chromium.org/365513002/diff/100001/chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js#oldcode249 chrome/browser/ui/webui/identity_internals/identity_internals_ui_browsertest.js:249: identity_internals.tokenRevokeDone = this.continueTest( On 2014/07/23 19:02:09, fgorski wrote: ...
6 years, 5 months ago (2014-07-23 20:20:05 UTC) #13
fgorski
lgtm I'd still like to see the long term solution at some point, but this ...
6 years, 5 months ago (2014-07-23 20:47:05 UTC) #14
Elliot Glaysher
sky: owners stamp / general review
6 years, 5 months ago (2014-07-23 22:20:07 UTC) #15
sky
https://codereview.chromium.org/365513002/diff/140001/chrome/browser/ui/webui/identity_internals/identity_internals.mojom File chrome/browser/ui/webui/identity_internals/identity_internals.mojom (right): https://codereview.chromium.org/365513002/diff/140001/chrome/browser/ui/webui/identity_internals/identity_internals.mojom#newcode5 chrome/browser/ui/webui/identity_internals/identity_internals.mojom:5: struct IdentityTokenMojo { It would be nice if this ...
6 years, 5 months ago (2014-07-23 23:35:11 UTC) #16
Elliot Glaysher
done
6 years, 5 months ago (2014-07-24 00:13:59 UTC) #17
sky
LGTM
6 years, 5 months ago (2014-07-24 16:50:28 UTC) #18
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 5 months ago (2014-07-24 17:12:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/365513002/160001
6 years, 5 months ago (2014-07-24 17:13:35 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 18:30:27 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 18:35:19 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/82143)
6 years, 5 months ago (2014-07-24 18:35:20 UTC) #23
Elliot Glaysher
+jam for content/ owners stamp
6 years, 5 months ago (2014-07-25 19:34:37 UTC) #24
jam
we're working on removing RenderView as part of site isolation, so use RenderFrame instead. i've ...
6 years, 5 months ago (2014-07-25 21:29:59 UTC) #25
Elliot Glaysher
jam: I believe I've done everything here. If I've missed anything, please give a holler.
6 years, 5 months ago (2014-07-25 23:35:16 UTC) #26
jam
content lgtm https://codereview.chromium.org/365513002/diff/200001/content/renderer/web_ui_mojo_context_state.cc File content/renderer/web_ui_mojo_context_state.cc (right): https://codereview.chromium.org/365513002/diff/200001/content/renderer/web_ui_mojo_context_state.cc#newcode87 content/renderer/web_ui_mojo_context_state.cc:87: if (render_frame) { nit: no check is ...
6 years, 4 months ago (2014-07-28 06:41:59 UTC) #27
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-07-28 19:37:26 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/365513002/240001
6 years, 4 months ago (2014-07-28 20:35:44 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-29 00:04:30 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-29 00:07:43 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/436)
6 years, 4 months ago (2014-07-29 00:07:44 UTC) #32
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-07-29 00:09:31 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/365513002/240001
6 years, 4 months ago (2014-07-29 00:10:29 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-29 00:14:19 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-29 00:17:18 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/439)
6 years, 4 months ago (2014-07-29 00:17:19 UTC) #37
Elliot Glaysher
6 years, 4 months ago (2014-07-29 17:42:13 UTC) #38
Message was sent while issue was closed.
Committed patchset #14 manually as r286247 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698