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

Issue 18112018: Cleanup the UseSharedProxies preference. (Closed)

Created:
7 years, 5 months ago by pneubeck (no reviews)
Modified:
7 years, 5 months ago
Reviewers:
Nikita (slow), battre
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Cleanup the UseSharedProxies preference. - remove the UserSharedProxies pref from local state - fix the default value of the pref in the profile pref service - make the conditionals, when to use or ignore proxy settings, more explicit and clearer. BUG=258835 TEST=Manually checked all combinations of {DevicePolicy, UserPolicy, SharedNetwork, NotSharedNetwork} x {before, after login} x {enabled, disabled UseSharedProxies} for proxies of the system context, signin profile and user's profile. I checked the proxies by looking at the vlogs and the UI (like net-internals and settings page). I did not test the actual network connectivity of each context. TBR=battre@chromium.org, nkostylev@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211954

Patch Set 1 : . #

Patch Set 2 : Added missing include. #

Total comments: 6

Patch Set 3 : Addressed Dominic's comments. #

Patch Set 4 : Fixed compilation. #

Total comments: 4

Patch Set 5 : Addressed remaining comments. #

Patch Set 6 : Added a missing member initializer. #

Total comments: 4

Patch Set 7 : Added some more comments. #

Patch Set 8 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -125 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/net/proxy_config_handler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/proxy_config_handler.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.h View 1 2 3 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 1 2 7 chunks +28 lines, -52 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl_unittest.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/ui_proxy_config_service.h View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/chromeos/ui_proxy_config_service.cc View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/proxy_service_factory.h View 1 2 3 4 5 6 2 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 1 2 3 1 chunk +18 lines, -10 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 3 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
pneubeck (no reviews)
Nikita, please take a look at files you own. Should be browser/chromeos/ and webui/ Thanks!
7 years, 5 months ago (2013-07-11 09:29:36 UTC) #1
pneubeck (no reviews)
Dominic, please owner-review chrome/browser/{net,prefs}. Thanks.
7 years, 5 months ago (2013-07-11 12:56:09 UTC) #2
battre
We talked face to face. Here are a couple of other comments. I'll review the ...
7 years, 5 months ago (2013-07-11 13:31:22 UTC) #3
pneubeck (no reviews)
PTAL https://codereview.chromium.org/18112018/diff/25001/chrome/browser/chromeos/net/proxy_config_handler.cc File chrome/browser/chromeos/net/proxy_config_handler.cc (right): https://codereview.chromium.org/18112018/diff/25001/chrome/browser/chromeos/net/proxy_config_handler.cc#newcode71 chrome/browser/chromeos/net/proxy_config_handler.cc:71: registry->RegisterBooleanPref( On 2013/07/11 13:31:23, battre wrote: > Can ...
7 years, 5 months ago (2013-07-12 09:42:30 UTC) #4
battre
LGTM https://codereview.chromium.org/18112018/diff/71001/chrome/browser/chromeos/ui_proxy_config_service.h File chrome/browser/chromeos/ui_proxy_config_service.h (right): https://codereview.chromium.org/18112018/diff/71001/chrome/browser/chromeos/ui_proxy_config_service.h#newcode31 chrome/browser/chromeos/ui_proxy_config_service.h:31: void SetPrefs(bool login_profile, PrefService* prefs); add comment? // ...
7 years, 5 months ago (2013-07-12 12:25:44 UTC) #5
pneubeck (no reviews)
https://codereview.chromium.org/18112018/diff/71001/chrome/browser/chromeos/ui_proxy_config_service.h File chrome/browser/chromeos/ui_proxy_config_service.h (right): https://codereview.chromium.org/18112018/diff/71001/chrome/browser/chromeos/ui_proxy_config_service.h#newcode31 chrome/browser/chromeos/ui_proxy_config_service.h:31: void SetPrefs(bool login_profile, PrefService* prefs); On 2013/07/12 12:25:44, battre ...
7 years, 5 months ago (2013-07-12 16:00:43 UTC) #6
Nikita (slow)
lgtm https://codereview.chromium.org/18112018/diff/73004/chrome/browser/chromeos/ui_proxy_config_service.h File chrome/browser/chromeos/ui_proxy_config_service.h (right): https://codereview.chromium.org/18112018/diff/73004/chrome/browser/chromeos/ui_proxy_config_service.h#newcode33 chrome/browser/chromeos/ui_proxy_config_service.h:33: void SetPrefs(bool signin_screen, PrefService* prefs); nit: It would ...
7 years, 5 months ago (2013-07-15 08:08:46 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/18112018/diff/73004/chrome/browser/chromeos/ui_proxy_config_service.h File chrome/browser/chromeos/ui_proxy_config_service.h (right): https://codereview.chromium.org/18112018/diff/73004/chrome/browser/chromeos/ui_proxy_config_service.h#newcode33 chrome/browser/chromeos/ui_proxy_config_service.h:33: void SetPrefs(bool signin_screen, PrefService* prefs); On 2013/07/15 08:08:46, Nikita ...
7 years, 5 months ago (2013-07-16 08:38:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/18112018/84001
7 years, 5 months ago (2013-07-16 08:43:07 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=15428
7 years, 5 months ago (2013-07-16 12:32:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/18112018/84001
7 years, 5 months ago (2013-07-16 12:37:05 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=60147
7 years, 5 months ago (2013-07-16 13:50:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/18112018/84001
7 years, 5 months ago (2013-07-16 13:51:45 UTC) #13
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
7 years, 5 months ago (2013-07-16 13:52:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/18112018/84001
7 years, 5 months ago (2013-07-16 13:53:49 UTC) #15
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
7 years, 5 months ago (2013-07-16 13:54:12 UTC) #16
pneubeck (no reviews)
7 years, 5 months ago (2013-07-17 05:25:50 UTC) #17
Message was sent while issue was closed.
Committed patchset #8 manually as r211954 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698