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

Issue 1808253004: Refactor JSONValueConverter Out of DisplayLayout (Closed)

Created:
4 years, 9 months ago by robliao
Modified:
4 years, 9 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor JSONValueConverter Out of DisplayLayout Separate the JSON processing code out of DisplayLayout in preparing to move to ui/gfx since ui/gfx has no JSON dependency. BUG=595498 Committed: https://crrev.com/8c912b533f434aa8509495bf0dd6e2dd177d0fce Cr-Commit-Position: refs/heads/master@{#382398}

Patch Set 1 #

Total comments: 11

Patch Set 2 : CR Feedback #

Patch Set 3 : Update #

Total comments: 2

Patch Set 4 : Clean up some Includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -256 lines) Patch
M ash/ash.gyp View 2 chunks +3 lines, -1 line 0 comments Download
M ash/display/display_layout.h View 3 chunks +8 lines, -17 lines 0 comments Download
M ash/display/display_layout.cc View 3 chunks +48 lines, -120 lines 0 comments Download
D ash/display/display_layout_unittest.cc View 1 chunk +0 lines, -93 lines 0 comments Download
A ash/display/json_converter.h View 1 chunk +26 lines, -0 lines 0 comments Download
A ash/display/json_converter.cc View 1 2 3 1 chunk +197 lines, -0 lines 0 comments Download
A + ash/display/json_converter_unittest.cc View 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 10 chunks +11 lines, -15 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (12 generated)
robliao
oshima: Here's the first in a sequence of three changes to share code between Windows ...
4 years, 9 months ago (2016-03-17 19:42:27 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808253004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808253004/1
4 years, 9 months ago (2016-03-17 22:07:00 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 22:41:10 UTC) #7
oshima
https://codereview.chromium.org/1808253004/diff/1/ash/display/display_layout.h File ash/display/display_layout.h (right): https://codereview.chromium.org/1808253004/diff/1/ash/display/display_layout.h#newcode85 ash/display/display_layout.h:85: ScopedVector<DisplayPlacement> placement_list; can you change this to std::vector? The ...
4 years, 9 months ago (2016-03-17 23:19:39 UTC) #8
robliao
https://codereview.chromium.org/1808253004/diff/1/ash/display/display_layout.h File ash/display/display_layout.h (right): https://codereview.chromium.org/1808253004/diff/1/ash/display/display_layout.h#newcode85 ash/display/display_layout.h:85: ScopedVector<DisplayPlacement> placement_list; On 2016/03/17 23:19:38, oshima wrote: > can ...
4 years, 9 months ago (2016-03-18 21:39:57 UTC) #9
oshima
haven't looked the patch yet because I'm still firefighting with DrMemory redness. I'll try to ...
4 years, 9 months ago (2016-03-18 21:53:24 UTC) #10
robliao
https://codereview.chromium.org/1808253004/diff/1/ash/display/json_converter.cc File ash/display/json_converter.cc (right): https://codereview.chromium.org/1808253004/diff/1/ash/display/json_converter.cc#newcode50 ash/display/json_converter.cc:50: // The key is missing - output is left ...
4 years, 9 months ago (2016-03-18 22:55:58 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808253004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808253004/40001
4 years, 9 months ago (2016-03-19 00:05:55 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-19 01:02:19 UTC) #15
oshima
lgtm with nit https://codereview.chromium.org/1808253004/diff/40001/ash/display/json_converter.cc File ash/display/json_converter.cc (right): https://codereview.chromium.org/1808253004/diff/40001/ash/display/json_converter.cc#newcode9 ash/display/json_converter.cc:9: #include <unordered_map> do you need this ...
4 years, 9 months ago (2016-03-21 19:16:53 UTC) #16
robliao
https://codereview.chromium.org/1808253004/diff/40001/ash/display/json_converter.cc File ash/display/json_converter.cc (right): https://codereview.chromium.org/1808253004/diff/40001/ash/display/json_converter.cc#newcode9 ash/display/json_converter.cc:9: #include <unordered_map> On 2016/03/21 19:16:53, oshima wrote: > do ...
4 years, 9 months ago (2016-03-21 20:13:02 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808253004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808253004/60001
4 years, 9 months ago (2016-03-21 20:13:44 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-21 20:57:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808253004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808253004/60001
4 years, 9 months ago (2016-03-21 21:27:11 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-21 21:34:27 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 21:36:06 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8c912b533f434aa8509495bf0dd6e2dd177d0fce
Cr-Commit-Position: refs/heads/master@{#382398}

Powered by Google App Engine
This is Rietveld 408576698