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

Issue 983823002: Use GUID instead of servicePath in network settings (Closed)

Created:
5 years, 9 months ago by stevenjb
Modified:
5 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, michaelpg+watch-options_chromium.org, sadrul, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_enable_extension_apis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GUID instead of servicePath in network settings * Uses guid instead of service path in the Internet Settings UI * Uses chrome://settings/internet?guid= instead of ?servicePath= * Uses chrome.networkingPrivate.getManagedProperties and setProperties directly in Internet Settings * Makes callback parameter optional in networkingPrivate for setters * Removes the difficult to maintain (and only partially implemented) Error translation from internet setigns, adding a general TODO for translating ONC properties in the UI. * Replaces ShowNetworkSettings with ShowNetworkSettingsForGuid in NetworkConnect::Delegate and ash::SystemTrayDelegate * Uses guid instead of service path in UIProxyConfigService BUG=467275 For chrome/browser/ui/ash: TBR=oshima@chromium.org Committed: https://crrev.com/82dbc53092955f8609b402be88183693d4e19718 Cr-Commit-Position: refs/heads/master@{#320662}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 19

Patch Set 4 : Feedback #

Total comments: 2

Patch Set 5 : Add setNetworkGuid #

Patch Set 6 : Compile fixes #

Patch Set 7 : Use guid instead of service_path for proxy prefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -198 lines) Patch
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ash/system/tray/system_tray_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/status/data_promo_notification.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/ui_proxy_config_service.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/ui_proxy_config_service.cc View 1 2 3 5 chunks +22 lines, -24 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 13 chunks +20 lines, -23 lines 0 comments Download
M chrome/browser/resources/options/chromeos/network_list.js View 1 2 3 4 chunks +8 lines, -15 lines 0 comments Download
M chrome/browser/resources/options/chromeos/onc_data.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/preferred_networks.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/network_connect_delegate_chromeos.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/network_connect_delegate_chromeos.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 14 chunks +55 lines, -78 lines 0 comments Download
M chrome/browser/ui/webui/options/preferences_browsertest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/api/networking_private.json View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M ui/chromeos/network/network_connect.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/chromeos/network/network_connect.cc View 1 4 chunks +7 lines, -5 lines 0 comments Download
M ui/chromeos/network/network_state_notifier.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/chromeos/network/network_state_notifier.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M ui/chromeos/network/network_state_notifier_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
stevenjb
A few more nails in the 'service path' coffin.
5 years, 9 months ago (2015-03-05 19:05:32 UTC) #2
stevenjb
Updated description
5 years, 9 months ago (2015-03-05 19:17:43 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/983823002/diff/40001/chrome/browser/chromeos/ui_proxy_config_service.cc File chrome/browser/chromeos/ui_proxy_config_service.cc (right): https://codereview.chromium.org/983823002/diff/40001/chrome/browser/chromeos/ui_proxy_config_service.cc#newcode82 chrome/browser/chromeos/ui_proxy_config_service.cc:82: const NetworkState* network = NULL; indentation https://codereview.chromium.org/983823002/diff/40001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js ...
5 years, 9 months ago (2015-03-12 20:53:58 UTC) #4
pneubeck (no reviews)
The one concern I have is about the details_path_ that you removed from the internet_options_handler.cc
5 years, 9 months ago (2015-03-12 20:54:27 UTC) #5
stevenjb
https://codereview.chromium.org/983823002/diff/40001/chrome/browser/chromeos/ui_proxy_config_service.cc File chrome/browser/chromeos/ui_proxy_config_service.cc (right): https://codereview.chromium.org/983823002/diff/40001/chrome/browser/chromeos/ui_proxy_config_service.cc#newcode82 chrome/browser/chromeos/ui_proxy_config_service.cc:82: const NetworkState* network = NULL; On 2015/03/12 20:53:57, pneubeck ...
5 years, 9 months ago (2015-03-13 01:20:14 UTC) #6
pneubeck (no reviews)
lgtm https://codereview.chromium.org/983823002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (right): https://codereview.chromium.org/983823002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#newcode422 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:422: return; On 2015/03/13 01:20:14, stevenjb wrote: > On ...
5 years, 9 months ago (2015-03-13 09:54:20 UTC) #7
stevenjb
OK, I added a setNetworkGuid signal between the JS and IneternetOptionsHandler for now. LMKWYT https://codereview.chromium.org/983823002/diff/40001/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ...
5 years, 9 months ago (2015-03-13 17:01:14 UTC) #8
pneubeck (no reviews)
yeah, with that approach we'll be on the safe side. lgtm modulo making it compile ...
5 years, 9 months ago (2015-03-13 17:33:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/983823002/100001
5 years, 9 months ago (2015-03-13 19:15:17 UTC) #12
commit-bot: I haz the power
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/49582)
5 years, 9 months ago (2015-03-13 19:36:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/983823002/120001
5 years, 9 months ago (2015-03-14 17:14:53 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-14 18:32:33 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-14 18:33:19 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/82dbc53092955f8609b402be88183693d4e19718
Cr-Commit-Position: refs/heads/master@{#320662}

Powered by Google App Engine
This is Rietveld 408576698