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

Issue 2102803002: Settings People Revamp: Add special Disconnect logic for domain profiles (Closed)

Created:
4 years, 5 months ago by tommycli
Modified:
4 years, 5 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_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 People Revamp: Add special Disconnect logic for domain profiles Disconnecting a profile with a domain, i.e. "managed by google.com" should force the user to delete the local profile. BUG=621223, 563721 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/3d05058f45ac24c192143f721572339af69f0acd Cr-Commit-Position: refs/heads/master@{#403001}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : Make behavior same as Options #

Total comments: 8

Patch Set 4 : address dpapad comments #

Patch Set 5 : add test #

Total comments: 5

Patch Set 6 : address test feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -43 lines) Patch
M chrome/app/settings_chromium_strings.grdp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/app/settings_google_chrome_strings.grdp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/app/settings_strings.grdp View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 2 3 4 3 chunks +23 lines, -15 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 2 3 2 chunks +24 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 1 2 3 1 chunk +11 lines, -9 lines 0 comments Download
M chrome/test/data/webui/settings/people_page_test.js View 1 2 3 4 5 3 chunks +113 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102803002/20001
4 years, 5 months ago (2016-06-27 21:22:49 UTC) #3
tommycli
dpapad: PTAL, this implements the separate sync disconnect dialogs for domain-managed and non-managed profiles. The ...
4 years, 5 months ago (2016-06-27 22:06:54 UTC) #5
dpapad
Apologies for the delayed review. https://codereview.chromium.org/2102803002/diff/40001/chrome/app/settings_chromium_strings.grdp File chrome/app/settings_chromium_strings.grdp (right): https://codereview.chromium.org/2102803002/diff/40001/chrome/app/settings_chromium_strings.grdp#newcode62 chrome/app/settings_chromium_strings.grdp:62: <message name="IDS_SETTINGS_SYNC_DISCONNECT_TITLE" desc="The title ...
4 years, 5 months ago (2016-06-28 22:17:22 UTC) #6
tommycli
dpapad: thanks! I tested the new changes manually. I also merged origin/master in. https://codereview.chromium.org/2102803002/diff/40001/chrome/app/settings_chromium_strings.grdp File ...
4 years, 5 months ago (2016-06-28 23:26:01 UTC) #7
dpapad
LGTM. Perhaps it would be valuable to add a simple test that checks that the ...
4 years, 5 months ago (2016-06-28 23:57:29 UTC) #8
tommycli
On 2016/06/28 23:57:29, dpapad wrote: > LGTM. > Perhaps it would be valuable to add ...
4 years, 5 months ago (2016-06-29 00:04:41 UTC) #9
tommycli
dpapad: I added a test, though it's not that small, it's about 100 lines. Hopefully ...
4 years, 5 months ago (2016-06-29 19:20:31 UTC) #10
dpapad
Thanks for adding tests! https://codereview.chromium.org/2102803002/diff/80001/chrome/test/data/webui/settings/people_page_test.js File chrome/test/data/webui/settings/people_page_test.js (right): https://codereview.chromium.org/2102803002/diff/80001/chrome/test/data/webui/settings/people_page_test.js#newcode23 chrome/test/data/webui/settings/people_page_test.js:23: fakeProfileInfo: { You probably want ...
4 years, 5 months ago (2016-06-29 22:09:34 UTC) #11
tommycli
dpapad: thanks! i improved this in accordance with your suggestions. I'm sending this to CQ ...
4 years, 5 months ago (2016-06-29 22:30:10 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102803002/100001
4 years, 5 months ago (2016-06-29 22:32:56 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 23:47:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102803002/100001
4 years, 5 months ago (2016-06-29 23:49:09 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/3d05058f45ac24c192143f721572339af69f0acd Cr-Commit-Position: refs/heads/master@{#403001}
4 years, 5 months ago (2016-06-30 00:04:27 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 00:04:30 UTC) #22
Message was sent while issue was closed.
CQ bit was unchecked.

Powered by Google App Engine
This is Rietveld 408576698