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

Issue 1861573002: Convert the utility process JSON parser into a Mojo service. (Closed)

Created:
4 years, 8 months ago by Anand Mistry (off Chromium)
Modified:
4 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, darin (slow to review), droger+watchlist_chromium.org, qsr+mojo_chromium.org, Robert Sesek, sdefresne+watchlist_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert the utility process JSON parser into a Mojo service. BUG=597124 Committed: https://crrev.com/f8ce981e73207dfb46f6ccbfe2cd29378b3c4baf Cr-Commit-Position: refs/heads/master@{#391463}

Patch Set 1 #

Patch Set 2 : Fix gn check #

Patch Set 3 : Fix tests. #

Patch Set 4 : Update. #

Patch Set 5 : Rename build rule #

Total comments: 17

Patch Set 6 : Make changes and move stuff around. #

Patch Set 7 : Rebase #

Patch Set 8 : Try fix android #

Patch Set 9 : Rebase and move only the utility process stuff #

Patch Set 10 : Fix blimp shell #

Total comments: 2

Patch Set 11 : Rebase, fix typo, and add TODO. #

Patch Set 12 : Fix dependency on mojo system. #

Total comments: 2

Patch Set 13 : Remove from IPC message start. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -318 lines) Patch
M chrome/chrome_utility.gypi View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M chrome/utility/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -3 lines 0 comments Download
D chrome/utility/safe_json_parser_handler.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -35 lines 0 comments Download
D chrome/utility/safe_json_parser_handler.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M components/safe_json.gypi View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -6 lines 0 comments Download
M components/safe_json/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -35 lines 0 comments Download
M components/safe_json/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A + components/safe_json/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/safe_json/public/interfaces/safe_json.mojom View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -2 lines 0 comments Download
A + components/safe_json/public/interfaces/safe_json.typemap View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -7 lines 0 comments Download
M components/safe_json/safe_json_parser_impl.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +18 lines, -3 lines 0 comments Download
M components/safe_json/safe_json_parser_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +52 lines, -31 lines 0 comments Download
D components/safe_json/safe_json_parser_message_filter.h View 1 chunk +0 lines, -38 lines 0 comments Download
D components/safe_json/safe_json_parser_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -58 lines 0 comments Download
D components/safe_json/safe_json_parser_messages.h View 1 chunk +0 lines, -35 lines 0 comments Download
D components/safe_json/safe_json_parser_messages.cc View 1 chunk +0 lines, -33 lines 0 comments Download
A + components/safe_json/utility/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
A components/safe_json/utility/safe_json_parser_mojo_impl.h View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A components/safe_json/utility/safe_json_parser_mojo_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -0 lines 0 comments Download
A + components/typemaps.gni View 1 2 3 4 5 6 7 8 1 chunk +1 line, -4 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
Anand Mistry (off Chromium)
4 years, 8 months ago (2016-04-13 01:24:31 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode60 components/safe_json/safe_json_parser_impl.cc:60: // thread while the IO thread message loop is ...
4 years, 8 months ago (2016-04-13 15:46:51 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_mojo_impl.cc File components/safe_json/safe_json_parser_mojo_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_mojo_impl.cc#newcode5 components/safe_json/safe_json_parser_mojo_impl.cc:5: #include "components/safe_json/safe_json_parser_mojo_impl.h" Technically, we should split this up into ...
4 years, 8 months ago (2016-04-13 15:49:08 UTC) #6
Anand Mistry (off Chromium)
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode60 components/safe_json/safe_json_parser_impl.cc:60: // thread while the IO thread message loop is ...
4 years, 8 months ago (2016-04-14 00:59:49 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode60 components/safe_json/safe_json_parser_impl.cc:60: // thread while the IO thread message loop is ...
4 years, 8 months ago (2016-04-14 14:11:38 UTC) #8
Anand Mistry (off Chromium)
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode60 components/safe_json/safe_json_parser_impl.cc:60: // thread while the IO thread message loop is ...
4 years, 8 months ago (2016-04-18 05:06:46 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode68 components/safe_json/safe_json_parser_impl.cc:68: // Shut down the utility process if it's still ...
4 years, 8 months ago (2016-04-20 16:43:15 UTC) #10
Anand Mistry (off Chromium)
https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/80001/components/safe_json/safe_json_parser_impl.cc#newcode68 components/safe_json/safe_json_parser_impl.cc:68: // Shut down the utility process if it's still ...
4 years, 8 months ago (2016-04-21 07:54:12 UTC) #11
Anand Mistry (off Chromium)
Ping! I know I still need other reviewers for the other changes, but I'd like ...
4 years, 7 months ago (2016-04-27 22:36:29 UTC) #12
Bernhard Bauer
On 2016/04/27 22:36:29, Anand Mistry wrote: > Ping! > > I know I still need ...
4 years, 7 months ago (2016-04-28 16:12:41 UTC) #13
Anand Mistry (off Chromium)
thakis@chromium.org: Please review changes in chrome/ sdefresne@chromium.org: Please review changes in components/typemaps.gni
4 years, 7 months ago (2016-05-02 06:43:10 UTC) #15
Anand Mistry (off Chromium)
Added a TODO. https://codereview.chromium.org/1861573002/diff/180001/components/safe_json/safe_json_parser_impl.cc File components/safe_json/safe_json_parser_impl.cc (right): https://codereview.chromium.org/1861573002/diff/180001/components/safe_json/safe_json_parser_impl.cc#newcode70 components/safe_json/safe_json_parser_impl.cc:70: // |service_| may have to last ...
4 years, 7 months ago (2016-05-02 06:44:33 UTC) #16
sdefresne
rs lgtm
4 years, 7 months ago (2016-05-02 08:01:28 UTC) #17
Anand Mistry (off Chromium)
tsepez: Because of IPC message removal and mojom addition.
4 years, 7 months ago (2016-05-02 11:22:42 UTC) #19
Tom Sepez
https://codereview.chromium.org/1861573002/diff/220001/components/safe_json/safe_json_parser_messages.h File components/safe_json/safe_json_parser_messages.h (left): https://codereview.chromium.org/1861573002/diff/220001/components/safe_json/safe_json_parser_messages.h#oldcode14 components/safe_json/safe_json_parser_messages.h:14: #define IPC_MESSAGE_START SafeJsonParserMsgStart We can remove SafeJsonParserMsgStart definition from ...
4 years, 7 months ago (2016-05-02 15:51:53 UTC) #20
Anand Mistry (off Chromium)
https://codereview.chromium.org/1861573002/diff/220001/components/safe_json/safe_json_parser_messages.h File components/safe_json/safe_json_parser_messages.h (left): https://codereview.chromium.org/1861573002/diff/220001/components/safe_json/safe_json_parser_messages.h#oldcode14 components/safe_json/safe_json_parser_messages.h:14: #define IPC_MESSAGE_START SafeJsonParserMsgStart On 2016/05/02 15:51:53, Tom Sepez wrote: ...
4 years, 7 months ago (2016-05-03 02:30:22 UTC) #21
Nico
chrome lgtm
4 years, 7 months ago (2016-05-03 13:54:04 UTC) #22
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-03 21:46:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861573002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861573002/240001
4 years, 7 months ago (2016-05-04 04:57:25 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/207085)
4 years, 7 months ago (2016-05-04 05:21:22 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861573002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861573002/240001
4 years, 7 months ago (2016-05-04 05:48:06 UTC) #30
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 7 months ago (2016-05-04 08:55:36 UTC) #32
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/f8ce981e73207dfb46f6ccbfe2cd29378b3c4baf Cr-Commit-Position: refs/heads/master@{#391463}
4 years, 7 months ago (2016-05-04 08:57:21 UTC) #34
Mathieu
4 years, 7 months ago (2016-05-04 12:12:19 UTC) #35
Message was sent while issue was closed.
A revert of this CL (patchset #13 id:240001) has been created in
https://codereview.chromium.org/1951863002/ by mathp@chromium.org.

The reason for reverting is: broke browsertest:

https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698