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

Issue 1900913002: Settings People Revamp: Split Profile Info out into its own handler. (Closed)

Created:
4 years, 8 months ago by tommycli
Modified:
4 years, 8 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org, vitalyp+closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings People Revamp: Split Profile Info out into its own handler. In preparation for overhauling the Advanced Sync Settings, this refactor splits off the Profile Info functionality into its own handler both with C++ tests and TestBrowserProxy-based JavaScript tests. Although this adds more SLOC, this reduces the complexity of the 1000-line PeopleHandler. BUG=563721 Committed: https://crrev.com/e391ce5e330c9affc85afe5be6abc9dfd0a7e05f Cr-Commit-Position: refs/heads/master@{#388108}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+573 lines, -167 lines) Patch
M chrome/browser/resources/settings/people_page/compiled_resources2.gyp View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 5 chunks +12 lines, -9 lines 0 comments Download
A chrome/browser/resources/settings/people_page/profile_info_browser_proxy.html View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/sync_private_api.js View 1 2 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.h View 5 chunks +1 line, -28 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 7 chunks +0 lines, -100 lines 0 comments Download
A chrome/browser/ui/webui/settings/profile_info_handler.h View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/profile_info_handler.cc View 1 2 3 1 chunk +156 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc View 1 2 3 1 chunk +137 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 2 chunks +26 lines, -1 line 0 comments Download
A chrome/test/data/webui/settings/people_page_test.js View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900913002/40001
4 years, 8 months ago (2016-04-18 22:00:19 UTC) #2
tommycli
dpapad: PTAL. I apologize for the MEGA CL. it's a refactor + adding a C++ ...
4 years, 8 months ago (2016-04-18 22:46:55 UTC) #4
dpapad
LGTM++ https://codereview.chromium.org/1900913002/diff/40001/chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js File chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js (right): https://codereview.chromium.org/1900913002/diff/40001/chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js#newcode38 chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js:38: // The singleton instance_ is replaced with a ...
4 years, 8 months ago (2016-04-18 23:30:50 UTC) #5
tommycli
dpapad: thanks for the super fast review https://codereview.chromium.org/1900913002/diff/40001/chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js File chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js (right): https://codereview.chromium.org/1900913002/diff/40001/chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js#newcode38 chrome/browser/resources/settings/people_page/profile_info_browser_proxy.js:38: // The ...
4 years, 8 months ago (2016-04-19 00:03:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900913002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900913002/80001
4 years, 8 months ago (2016-04-19 00:03:58 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-19 01:16:35 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-19 01:17:20 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e391ce5e330c9affc85afe5be6abc9dfd0a7e05f
Cr-Commit-Position: refs/heads/master@{#388108}

Powered by Google App Engine
This is Rietveld 408576698