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

Issue 2445153002: Move onc and proxy pref names to components. (Closed)

Created:
4 years, 1 month ago by stevenjb
Modified:
4 years, 1 month ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, dbeam+watch-options_chromium.org, cbentzel+watch_chromium.org, michaelpg+watch-options_chromium.org, yusukes+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, hidehiko+watch_chromium.org, sdefresne+watchlist_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move onc and proxy pref names to components. This is some code cleanup in anticipation of moving chromeos proxy configuration related code out of src/chrome so that it can be accessed by networkingPrivate and ash. This CL also namespaces some pseudo-prefs in proxy_cros_settings_parser.cc which were in the global 'chromeos' namespace before, which was super confusing because they aren't actually stored in the pref store, just set to look like prefs for the (soon to be deprecated) options UI code. BUG=658015 Committed: https://crrev.com/f22f82eaa63e369a1cee77b3473d978fd5de288f Cr-Commit-Position: refs/heads/master@{#427824}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Rebase #

Total comments: 6

Patch Set 4 : Feedback #

Patch Set 5 : ONC_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -148 lines) Patch
M chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc View 1 2 3 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/net/onc_utils.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/net/proxy_config_handler.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/net/proxy_config_handler.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.h View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/proxy_cros_settings_parser.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/proxy_cros_settings_parser.cc View 2 chunks +31 lines, -42 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 5 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.cc View 1 11 chunks +37 lines, -23 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 3 chunks +0 lines, -18 lines 0 comments Download
M components/onc/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
A + components/onc/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A components/onc/onc_pref_names.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A components/onc/onc_pref_names.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M components/proxy_config/pref_proxy_config_tracker_impl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/proxy_config/proxy_config_pref_names.h View 1 chunk +1 line, -1 line 0 comments Download
M components/proxy_config/proxy_config_pref_names.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 23 (12 generated)
stevenjb
mnissler@ - Can you take a look? I'm not sure there's anyone still around who ...
4 years, 1 month ago (2016-10-24 23:02:03 UTC) #2
battre
lgtm
4 years, 1 month ago (2016-10-25 07:15:00 UTC) #6
Mattias Nissler (ping if slow)
Looks reasonable to me, as long as the goal is to re-unite the prefs with ...
4 years, 1 month ago (2016-10-25 09:35:51 UTC) #7
stevenjb
+emaxx@, can you review this? It's just some re-factoring, there shouldn't be any functional changes. ...
4 years, 1 month ago (2016-10-26 00:18:48 UTC) #9
emaxx
lgtm https://codereview.chromium.org/2445153002/diff/40001/chrome/browser/chromeos/proxy_cros_settings_parser.h File chrome/browser/chromeos/proxy_cros_settings_parser.h (right): https://codereview.chromium.org/2445153002/diff/40001/chrome/browser/chromeos/proxy_cros_settings_parser.h#newcode20 chrome/browser/chromeos/proxy_cros_settings_parser.h:20: // This namespace defines helper functions for setting/getting ...
4 years, 1 month ago (2016-10-26 01:34:30 UTC) #10
stevenjb
https://codereview.chromium.org/2445153002/diff/40001/chrome/browser/chromeos/proxy_cros_settings_parser.h File chrome/browser/chromeos/proxy_cros_settings_parser.h (right): https://codereview.chromium.org/2445153002/diff/40001/chrome/browser/chromeos/proxy_cros_settings_parser.h#newcode20 chrome/browser/chromeos/proxy_cros_settings_parser.h:20: // This namespace defines helper functions for setting/getting Proxy ...
4 years, 1 month ago (2016-10-26 16:19:32 UTC) #11
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/2445153002/60001
4 years, 1 month ago (2016-10-26 16:20:11 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/286943)
4 years, 1 month ago (2016-10-26 16:57:29 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/2445153002/80001
4 years, 1 month ago (2016-10-26 17:50:02 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-26 21:48:08 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 21:51:13 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f22f82eaa63e369a1cee77b3473d978fd5de288f
Cr-Commit-Position: refs/heads/master@{#427824}

Powered by Google App Engine
This is Rietveld 408576698