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

Issue 1421893005: Settings Rewrite: Fork SyncSetupHandler for MD-Settings (Closed)

Created:
5 years, 1 month ago by tommycli
Modified:
5 years, 1 month ago
Reviewers:
James Hawkins, Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, michaelpg+watch-options_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings Rewrite: Fork SyncSetupHandler for MD-Settings This patch copies the SyncSetupHandler used in Options to the MD-Settings directory as well. It's basically a straight-copy with the options-specific code removed. BUG=537405 Committed: https://crrev.com/22664b9a04bc8972fd12370c484a3dad9aecffc5 Cr-Commit-Position: refs/heads/master@{#357165}

Patch Set 1 : straight-move version #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : the copy method instead #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -243 lines) Patch
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/webui/settings/sync_handler.h View 1 2 3 4 5 6 7 8 9 5 chunks +38 lines, -37 lines 0 comments Download
A + chrome/browser/ui/webui/settings/sync_handler.cc View 1 2 3 4 5 6 7 8 9 22 chunks +45 lines, -159 lines 0 comments Download
A + chrome/browser/ui/webui/settings/sync_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 34 chunks +47 lines, -45 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 38 (11 generated)
tommycli
dbeam: PTAL, this moves the SyncSetupHandler up a level, while leaving the Options-specific stuff behind ...
5 years, 1 month ago (2015-10-28 00:01:21 UTC) #3
Dan Beam
why is this better than just moving the file?
5 years, 1 month ago (2015-10-28 17:49:48 UTC) #4
tommycli
On 2015/10/28 17:49:48, Dan Beam wrote: > why is this better than just moving the ...
5 years, 1 month ago (2015-10-28 18:06:52 UTC) #5
tommycli
On 2015/10/28 18:06:52, tommycli wrote: > On 2015/10/28 17:49:48, Dan Beam wrote: > > why ...
5 years, 1 month ago (2015-10-28 18:17:01 UTC) #6
Dan Beam
On 2015/10/28 18:06:52, tommycli wrote: > On 2015/10/28 17:49:48, Dan Beam wrote: > > why ...
5 years, 1 month ago (2015-10-28 20:49:47 UTC) #7
tommycli
dbeam: Alright here's another revision. I looked at the callsites for set_web_ui, and in nearly ...
5 years, 1 month ago (2015-10-28 22:31:34 UTC) #10
Dan Beam
I guess I agree with your split a little more now ultimately, if we wanted ...
5 years, 1 month ago (2015-10-29 01:47:20 UTC) #11
tommycli
dbeam: see below, thanks! https://codereview.chromium.org/1421893005/diff/140001/chrome/browser/ui/webui/sync_setup_handler_unittest.cc File chrome/browser/ui/webui/sync_setup_handler_unittest.cc (left): https://codereview.chromium.org/1421893005/diff/140001/chrome/browser/ui/webui/sync_setup_handler_unittest.cc#oldcode156 chrome/browser/ui/webui/sync_setup_handler_unittest.cc:156: ~TestingSyncSetupHandler() override { set_web_ui(NULL); } ...
5 years, 1 month ago (2015-10-29 17:34:14 UTC) #12
tommycli
jhawkins: PTAL content/browser/webui, thanks!
5 years, 1 month ago (2015-10-29 17:49:04 UTC) #14
James Hawkins
I'm not totally comfortable with the location of this refactored code. Yes, it's currently shared ...
5 years, 1 month ago (2015-10-29 17:53:30 UTC) #15
tommycli
On 2015/10/29 17:53:30, James Hawkins wrote: > I'm not totally comfortable with the location of ...
5 years, 1 month ago (2015-10-29 17:56:00 UTC) #16
tommycli
On 2015/10/29 17:56:00, tommycli wrote: > On 2015/10/29 17:53:30, James Hawkins wrote: > > I'm ...
5 years, 1 month ago (2015-10-29 18:34:30 UTC) #17
James Hawkins
On 2015/10/29 18:34:30, tommycli wrote: > On 2015/10/29 17:56:00, tommycli wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 18:36:57 UTC) #18
tommycli
On 2015/10/29 18:36:57, James Hawkins wrote: > On 2015/10/29 18:34:30, tommycli wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:50:16 UTC) #19
Dan Beam
On 2015/10/29 17:53:30, James Hawkins wrote: > I'm not totally comfortable with the location of ...
5 years, 1 month ago (2015-10-29 18:51:42 UTC) #20
James Hawkins
On 2015/10/29 18:50:16, tommycli wrote: > On 2015/10/29 18:36:57, James Hawkins wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:51:56 UTC) #21
tommycli
On 2015/10/29 18:51:56, James Hawkins wrote: > On 2015/10/29 18:50:16, tommycli wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:58:31 UTC) #22
James Hawkins
On 2015/10/29 18:58:31, tommycli wrote: > On 2015/10/29 18:51:56, James Hawkins wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:59:40 UTC) #23
tommycli
dbeam, jhawkins: Latest patchset is the handler-copy version. PTAL and let me know if you ...
5 years, 1 month ago (2015-10-29 20:51:15 UTC) #24
James Hawkins
lgtm
5 years, 1 month ago (2015-10-29 22:22:20 UTC) #25
tommycli
jhawkins: thanks! dbeam: any objections?
5 years, 1 month ago (2015-10-30 18:11:35 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421893005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421893005/220001
5 years, 1 month ago (2015-10-30 18:14:20 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-30 18:44:46 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421893005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421893005/220001
5 years, 1 month ago (2015-10-30 19:02:55 UTC) #35
commit-bot: I haz the power
Committed patchset #10 (id:220001)
5 years, 1 month ago (2015-10-30 19:17:51 UTC) #36
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/22664b9a04bc8972fd12370c484a3dad9aecffc5 Cr-Commit-Position: refs/heads/master@{#357165}
5 years, 1 month ago (2015-10-30 19:18:38 UTC) #37
Dan Beam
5 years, 1 month ago (2015-10-30 20:50:31 UTC) #38
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698