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

Issue 1808653003: Move the supervised user error page to a component (Closed)

Created:
4 years, 9 months ago by aberent
Modified:
3 years, 8 months ago
CC:
arv+watch_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, pam+watch_chromium.org, sdefresne+watchlist_chromium.org, Marc Treib
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the supervised user error page to a component This is a refactoring to allow WebView to use the supervised user error page. BUG=594973 Committed: https://crrev.com/c987fed5acb7cad3d489ebe7c31fd5a6bd265823 Cr-Commit-Position: refs/heads/master@{#382015}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Respond to comments, add OWNERS file and GYP build #

Total comments: 4

Patch Set 3 : Add tests. Also fix bauerb@'s remaining comment. #

Patch Set 4 : Update OWNERS files #

Total comments: 14

Patch Set 5 : Fix various nits. #

Patch Set 6 : Fix missing GN dependency #

Patch Set 7 : Rebase to fix compile problem #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+712 lines, -633 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +2 lines, -82 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/supervised_user_block_interstitial.css View 1 chunk +0 lines, -148 lines 0 comments Download
D chrome/browser/resources/supervised_user_block_interstitial.html View 1 chunk +0 lines, -62 lines 0 comments Download
D chrome/browser/resources/supervised_user_block_interstitial.js View 1 chunk +0 lines, -98 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_content_provider_android.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_content_provider_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_interstitial.h View 1 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_interstitial.cc View 6 chunks +15 lines, -113 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_navigation_observer.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_navigation_observer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_resource_throttle.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_resource_throttle.cc View 1 2 3 4 5 6 5 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_url_filter.h View 4 chunks +15 lines, -23 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_url_filter.cc View 1 2 4 chunks +18 lines, -65 lines 0 comments Download
M chrome/browser/ui/webui/supervised_user_internals_message_handler.h View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/supervised_user_internals_message_handler.cc View 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/OWNERS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/components_strings.grd View 1 chunk +1 line, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M components/resources/OWNERS View 1 2 3 4 1 chunk +4 lines, -0 lines 2 comments Download
M components/resources/components_resources.grd View 1 1 chunk +1 line, -0 lines 0 comments Download
A components/resources/supervised_user_error_page_resources.grdp View 1 chunk +4 lines, -0 lines 0 comments Download
A components/supervised_user_error_page.gypi View 1 1 chunk +22 lines, -0 lines 0 comments Download
A components/supervised_user_error_page/BUILD.gn View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A + components/supervised_user_error_page/DEPS View 1 chunk +2 lines, -1 line 0 comments Download
A + components/supervised_user_error_page/OWNERS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + components/supervised_user_error_page/resources/default_100_percent/logo_avatar_circle_blue_color.png View Binary file 0 comments Download
A + components/supervised_user_error_page/resources/default_200_percent/logo_avatar_circle_blue_color.png View Binary file 0 comments Download
A + components/supervised_user_error_page/resources/supervised_user_block_interstitial.css View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/supervised_user_error_page/resources/supervised_user_block_interstitial.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/supervised_user_error_page/resources/supervised_user_block_interstitial.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/supervised_user_error_page/supervised_user_error_page.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A components/supervised_user_error_page/supervised_user_error_page.cc View 1 2 1 chunk +178 lines, -0 lines 0 comments Download
A components/supervised_user_error_page/supervised_user_error_page_unittest.cc View 1 2 3 4 1 chunk +230 lines, -0 lines 0 comments Download
A components/supervised_user_error_page_strings.grdp View 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (13 generated)
aberent
Still needs GYP files, and possibly some sort of test, but please take a first ...
4 years, 9 months ago (2016-03-16 13:49:54 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd#newcode7667 chrome/app/generated_resources.grd:7667: + <message name="IDS_BLOCK_INTERSTITIAL_DEFAULT_FEEDBACK_TEXT" desc="The default text for feedback about ...
4 years, 9 months ago (2016-03-16 13:59:45 UTC) #3
aberent
https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd#newcode7667 chrome/app/generated_resources.grd:7667: + <message name="IDS_BLOCK_INTERSTITIAL_DEFAULT_FEEDBACK_TEXT" desc="The default text for feedback about ...
4 years, 9 months ago (2016-03-16 16:06:41 UTC) #4
Bernhard Bauer
LGTM with some final cleanup nits: https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1808653003/diff/1/chrome/app/generated_resources.grd#newcode7667 chrome/app/generated_resources.grd:7667: + <message name="IDS_BLOCK_INTERSTITIAL_DEFAULT_FEEDBACK_TEXT" ...
4 years, 9 months ago (2016-03-16 17:12:27 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808653003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808653003/20001
4 years, 9 months ago (2016-03-16 19:48:26 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157716)
4 years, 9 months ago (2016-03-16 20:03:05 UTC) #9
aberent
jochen@chromium.org: Please approve, as //components owner, the addition of a new component, and the related ...
4 years, 9 months ago (2016-03-18 12:50:01 UTC) #11
Bernhard Bauer
Also, +Marc FYI https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/supervised_user_error_page_unittest.cc File components/supervised_user_error_page/supervised_user_error_page_unittest.cc (right): https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/supervised_user_error_page_unittest.cc#newcode32 components/supervised_user_error_page/supervised_user_error_page_unittest.cc:32: << "reason = " << param.reason ...
4 years, 9 months ago (2016-03-18 13:33:08 UTC) #12
Marc Treib
https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/OWNERS File components/supervised_user_error_page/OWNERS (right): https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/OWNERS#newcode2 components/supervised_user_error_page/OWNERS:2: bauerb@chromium.org Add the other supervised_user owners too? https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/supervised_user_error_page.h File ...
4 years, 9 months ago (2016-03-18 13:46:58 UTC) #14
Nico
ui/ dep lgtm
4 years, 9 months ago (2016-03-18 13:56:06 UTC) #15
aberent
https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/OWNERS File components/supervised_user_error_page/OWNERS (right): https://codereview.chromium.org/1808653003/diff/60001/components/supervised_user_error_page/OWNERS#newcode2 components/supervised_user_error_page/OWNERS:2: bauerb@chromium.org On 2016/03/18 13:46:58, Marc Treib wrote: > Add ...
4 years, 9 months ago (2016-03-18 14:03:28 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808653003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808653003/80001
4 years, 9 months ago (2016-03-18 14:04:16 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/131877) linux_chromium_clobber_rel_ng on ...
4 years, 9 months ago (2016-03-18 14:07:58 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808653003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808653003/100001
4 years, 9 months ago (2016-03-18 14:18:58 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/37636) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 9 months ago (2016-03-18 14:31:53 UTC) #24
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-18 15:31:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808653003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808653003/120001
4 years, 9 months ago (2016-03-18 16:10:53 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-18 18:17:56 UTC) #29
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/c987fed5acb7cad3d489ebe7c31fd5a6bd265823 Cr-Commit-Position: refs/heads/master@{#382015}
4 years, 9 months ago (2016-03-18 18:19:05 UTC) #31
jam
Are there plans to make webview use this component? because I see that only chrome/ ...
4 years, 5 months ago (2016-07-11 20:35:11 UTC) #32
aberent
Yes, work in progress, see https://codereview.chromium.org/1890203002/ On Mon, 11 Jul 2016 at 21:35 <jam@chromium.org> wrote: ...
4 years, 5 months ago (2016-07-12 09:41:13 UTC) #33
jam
On 2016/07/12 09:41:13, aberent wrote: > Yes, work in progress, see https://codereview.chromium.org/1890203002/ Thanks
4 years, 5 months ago (2016-07-12 19:16:03 UTC) #34
mmenke
https://codereview.chromium.org/1808653003/diff/120001/components/resources/OWNERS File components/resources/OWNERS (right): https://codereview.chromium.org/1808653003/diff/120001/components/resources/OWNERS#newcode28 components/resources/OWNERS:28: per-file supervised_user_error_page.grpd=reib@chromium.org I'm a bit late to the party, ...
3 years, 8 months ago (2017-03-30 15:07:30 UTC) #36
Bernhard Bauer
On 2017/03/30 15:07:30, mmenke wrote: > https://codereview.chromium.org/1808653003/diff/120001/components/resources/OWNERS > File components/resources/OWNERS (right): > > https://codereview.chromium.org/1808653003/diff/120001/components/resources/OWNERS#newcode28 > ...
3 years, 8 months ago (2017-03-30 15:08:17 UTC) #37
aberent
3 years, 8 months ago (2017-03-30 15:14:34 UTC) #38
Message was sent while issue was closed.
https://codereview.chromium.org/1808653003/diff/120001/components/resources/O...
File components/resources/OWNERS (right):

https://codereview.chromium.org/1808653003/diff/120001/components/resources/O...
components/resources/OWNERS:28: per-file
supervised_user_error_page.grpd=reib@chromium.org
On 2017/03/30 15:07:30, mmenke wrote:
> I'm a bit late to the party, but should this be treib?
Yes, very late (this landed over a year ago), but I think it probably should be.
Thanks. I will create a trivial CL to fix it.

Powered by Google App Engine
This is Rietveld 408576698