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

Issue 1818373003: Move serialize/deserialize logic onto Entry. (Closed)

Created:
4 years, 9 months ago by Ben Goodger (Google)
Modified:
4 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move serialize/deserialize logic onto Entry. I'm trying to shift manifest reading/deserialization out of the catalog. The idea is we'll end up with two instances of the catalog per user, linked, one with the user-specific entries, and one with the entries that came with the distribution. I also flipped some of the CHECK()s in dictionary analysis to return errors. Eventually this should throw a more meaningful error via Shell::Connect(). R=sky@chromium.org BUG= Committed: https://crrev.com/96bdd00a3c4db5cdf69e3e3e5a875c31ac413224 Cr-Commit-Position: refs/heads/master@{#382633}

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -364 lines) Patch
M mojo/mojo_shell.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/services/catalog/BUILD.gn View 2 chunks +1 line, -3 lines 0 comments Download
D mojo/services/catalog/builder.h View 1 chunk +0 lines, -22 lines 0 comments Download
D mojo/services/catalog/builder.cc View 1 chunk +0 lines, -164 lines 0 comments Download
D mojo/services/catalog/builder_unittest.cc View 1 chunk +0 lines, -106 lines 0 comments Download
M mojo/services/catalog/catalog.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/catalog/catalog.cc View 1 6 chunks +27 lines, -20 lines 0 comments Download
M mojo/services/catalog/entry.h View 1 1 chunk +29 lines, -6 lines 0 comments Download
M mojo/services/catalog/entry.cc View 1 1 chunk +175 lines, -3 lines 0 comments Download
A + mojo/services/catalog/entry_unittest.cc View 1 3 chunks +33 lines, -37 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (4 generated)
Ben Goodger (Google)
4 years, 9 months ago (2016-03-22 14:35:52 UTC) #2
sky
https://codereview.chromium.org/1818373003/diff/1/mojo/services/catalog/entry.h File mojo/services/catalog/entry.h (right): https://codereview.chromium.org/1818373003/diff/1/mojo/services/catalog/entry.h#newcode33 mojo/services/catalog/entry.h:33: static DeserializeResult Deserialize(const base::DictionaryValue& value, It seems like you ...
4 years, 9 months ago (2016-03-22 15:10:03 UTC) #3
Ben Goodger (Google)
On 2016/03/22 15:10:03, sky wrote: > https://codereview.chromium.org/1818373003/diff/1/mojo/services/catalog/entry.h > File mojo/services/catalog/entry.h (right): > > https://codereview.chromium.org/1818373003/diff/1/mojo/services/catalog/entry.h#newcode33 > ...
4 years, 9 months ago (2016-03-22 15:22:09 UTC) #4
Ben Goodger (Google)
On 2016/03/22 15:22:09, Ben Goodger (Google) wrote: > On 2016/03/22 15:10:03, sky wrote: > > ...
4 years, 9 months ago (2016-03-22 15:34:44 UTC) #5
sky
LGTM
4 years, 9 months ago (2016-03-22 16:24:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1818373003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1818373003/20001
4 years, 9 months ago (2016-03-22 17:48:45 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-22 19:23:15 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 19:24:42 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/96bdd00a3c4db5cdf69e3e3e5a875c31ac413224
Cr-Commit-Position: refs/heads/master@{#382633}

Powered by Google App Engine
This is Rietveld 408576698