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

Issue 818433003: ChromeOS: Implement CaptivePortalAuthenticationIgnoresProxy policy. (Closed)

Created:
6 years ago by Alexander Alekseev
Modified:
5 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, oshima+watch_chromium.org, asvitkine+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChromeOS: Implement CaptivePortalAuthenticationIgnoresProxy policy. This CL adds CaptivePortalAuthenticationIgnoresProxy policy. BUG=456839 TEST=manual Committed: https://crrev.com/d17ddcb8b5e5dbf9bfe481567c63a23e9cfe0db3 Cr-Commit-Position: refs/heads/master@{#319138}

Patch Set 1 #

Total comments: 48

Patch Set 2 : Update after review. #

Total comments: 16

Patch Set 3 : Changed policy to bool and implemented user preference for it. #

Patch Set 4 : Fixed test and formatted browser_options.html. #

Total comments: 70

Patch Set 5 : Update after review. #

Total comments: 16

Patch Set 6 : Update after review. #

Patch Set 7 : Update strings. #

Patch Set 8 : Adjust checkbox alignment #

Patch Set 9 : Should close captive portal window on lock screen request. #

Patch Set 10 : Rebased. #

Patch Set 11 : Policy description updated. #

Patch Set 12 : Rebased. #

Patch Set 13 : Fix type in histograms.xml . #

Patch Set 14 : Fix browser tests. #

Patch Set 15 : Rebased. #

Patch Set 16 : Tests fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -21 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +106 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_test_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_test_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_notification_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_notification_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +38 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/portal_detector/network_portal_detector.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chromeos/network/portal_detector/network_portal_detector.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +23 lines, -1 line 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +14 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (17 generated)
Alexander Alekseev
Please review: dpolukhin@ : chrome/browser/chromeos/preferences.cc ygorshenin@ : chrome/browser/chromeos/net/* bartfab@, mnissler@: all (*policy* as owners and ...
6 years ago (2014-12-18 19:40:59 UTC) #2
Ilya Sherman
histograms.xml lgtm
6 years ago (2014-12-18 22:40:17 UTC) #3
bartfab (slow)
https://codereview.chromium.org/818433003/diff/1/chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h File chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h (right): https://codereview.chromium.org/818433003/diff/1/chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h#newcode10 chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h:10: enum CaptivePortalAuthenticationIgnoresProxyPolicyValues { Why does this need its own ...
6 years ago (2014-12-19 12:08:54 UTC) #4
Alexander Alekseev
I've added browser test. Please review. https://codereview.chromium.org/818433003/diff/1/chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h File chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h (right): https://codereview.chromium.org/818433003/diff/1/chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h#newcode10 chrome/browser/chromeos/net/captive_portal_ignore_proxy_policy_values.h:10: enum CaptivePortalAuthenticationIgnoresProxyPolicyValues { ...
6 years ago (2014-12-22 22:20:12 UTC) #5
ygorshenin1
https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc File chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc (right): https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc#newcode234 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc:234: Controller::NOTIFICATION_METRIC_COUNT, NULL); nit: you can use nullptr instead of ...
5 years, 12 months ago (2014-12-25 18:07:15 UTC) #6
Mattias Nissler (ping if slow)
https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc File chrome/browser/chromeos/net/network_portal_notification_controller.cc (right): https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc#newcode132 chrome/browser/chromeos/net/network_portal_notification_controller.cc:132: case CAPTIVE_PORTAL_AUTH_IGNORE_PROXY_USER_CONFIGURABLE: This is not how policy is designed ...
5 years, 11 months ago (2015-01-05 11:33:29 UTC) #7
Alexander Alekseev
+ stevenjb@ : Please review *browser_options*, and chrome/app/chromeos_strings.grdp https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc File chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc (right): https://codereview.chromium.org/818433003/diff/20001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc#newcode234 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc:234: Controller::NOTIFICATION_METRIC_COUNT, ...
5 years, 11 months ago (2015-01-05 20:53:03 UTC) #9
Mattias Nissler (ping if slow)
policy and prefs bits LGTM.
5 years, 11 months ago (2015-01-06 09:11:53 UTC) #10
bartfab (slow)
https://codereview.chromium.org/818433003/diff/60001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/818433003/diff/60001/chrome/app/chromeos_strings.grdp#newcode5954 chrome/app/chromeos_strings.grdp:5954: <message name="IDS_OPTIONS_CAPTIVE_PORTAL_BYPASS_PROXY_LABEL" desc="Option in chrome://settings that allows Captive Portal ...
5 years, 11 months ago (2015-01-07 17:38:43 UTC) #11
stevenjb
Owner lgtm with bartfab@'s comments addressed
5 years, 11 months ago (2015-01-07 18:36:51 UTC) #13
ygorshenin1
LGTM https://codereview.chromium.org/818433003/diff/60001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc File chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc (right): https://codereview.chromium.org/818433003/diff/60001/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc#newcode303 chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc:303: IN_PROC_BROWSER_TEST_F(NetworkPortalDetectorImplBrowserTestIgnoreProxy, nit: instead of two explicitly defined test ...
5 years, 11 months ago (2015-01-12 10:34:49 UTC) #14
Alexander Alekseev
https://codereview.chromium.org/818433003/diff/60001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/818433003/diff/60001/chrome/app/chromeos_strings.grdp#newcode5954 chrome/app/chromeos_strings.grdp:5954: <message name="IDS_OPTIONS_CAPTIVE_PORTAL_BYPASS_PROXY_LABEL" desc="Option in chrome://settings that allows Captive Portal ...
5 years, 11 months ago (2015-01-12 18:41:10 UTC) #15
bartfab (slow)
Just a few more nits in the code. But I think you should check with ...
5 years, 11 months ago (2015-01-14 11:00:07 UTC) #16
Alexander Alekseev
https://codereview.chromium.org/818433003/diff/60001/chrome/browser/chromeos/net/network_portal_notification_controller.cc File chrome/browser/chromeos/net/network_portal_notification_controller.cc (right): https://codereview.chromium.org/818433003/diff/60001/chrome/browser/chromeos/net/network_portal_notification_controller.cc#newcode168 chrome/browser/chromeos/net/network_portal_notification_controller.cc:168: (!ignore_no_network_for_testing_ || On 2015/01/14 11:00:07, bartfab wrote: > On ...
5 years, 11 months ago (2015-01-16 22:51:48 UTC) #17
bartfab (slow)
+ Will for security insight. Will, this feature will derive a temporary incognito profile in-session ...
5 years, 11 months ago (2015-01-21 10:09:57 UTC) #19
Alexander Alekseev
On 2015/01/21 10:09:57, bartfab wrote: > + Will for security insight. > > Will, this ...
5 years, 10 months ago (2015-01-29 19:25:04 UTC) #20
bartfab (slow)
> > Please document this caveat in policy_templates.json. Better be explicit about > > this ...
5 years, 10 months ago (2015-02-03 10:44:57 UTC) #21
Alexander Alekseev
On 2015/02/03 10:44:57, bartfab wrote: > > > Please document this caveat in policy_templates.json. Better ...
5 years, 10 months ago (2015-02-03 14:00:13 UTC) #22
Alexander Alekseev
bartfab@, wad@ - Ping?
5 years, 10 months ago (2015-02-09 15:59:16 UTC) #23
drewry
On 2015/02/09 15:59:16, Alexander Alekseev wrote: > bartfab@, wad@ - Ping? I can look at ...
5 years, 10 months ago (2015-02-11 17:03:09 UTC) #24
Alexander Alekseev
On 2015/02/11 17:03:09, drewry wrote: > On 2015/02/09 15:59:16, Alexander Alekseev wrote: > > bartfab@, ...
5 years, 10 months ago (2015-02-11 17:51:33 UTC) #25
drewry
On 2015/02/11 17:51:33, Alexander Alekseev wrote: > On 2015/02/11 17:03:09, drewry wrote: > > On ...
5 years, 10 months ago (2015-02-11 20:25:37 UTC) #26
bartfab (slow)
On 2015/02/03 14:00:13, Alexander Alekseev wrote: > On 2015/02/03 10:44:57, bartfab wrote: > > > ...
5 years, 10 months ago (2015-02-12 09:42:43 UTC) #27
bartfab (slow)
On 2015/02/03 14:00:13, Alexander Alekseev wrote: > On 2015/02/03 10:44:57, bartfab wrote: > > > ...
5 years, 10 months ago (2015-02-12 09:42:48 UTC) #28
Alexander Alekseev
On 2015/02/12 09:42:48, bartfab wrote: > On 2015/02/03 14:00:13, Alexander Alekseev wrote: > > On ...
5 years, 10 months ago (2015-02-12 17:57:49 UTC) #29
bartfab (slow)
policy LGTM
5 years, 10 months ago (2015-02-16 13:54:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818433003/240001
5 years, 10 months ago (2015-02-17 09:22:29 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/8858)
5 years, 10 months ago (2015-02-17 09:39:47 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818433003/260001
5 years, 10 months ago (2015-02-17 12:25:34 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25951)
5 years, 10 months ago (2015-02-17 13:07:55 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818433003/280001
5 years, 9 months ago (2015-03-04 17:41:01 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818433003/300001
5 years, 9 months ago (2015-03-04 20:11:12 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818433003/300001
5 years, 9 months ago (2015-03-04 20:54:25 UTC) #50
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 9 months ago (2015-03-04 22:15:50 UTC) #51
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 22:16:36 UTC) #52
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/d17ddcb8b5e5dbf9bfe481567c63a23e9cfe0db3
Cr-Commit-Position: refs/heads/master@{#319138}

Powered by Google App Engine
This is Rietveld 408576698