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

Issue 509643003: Use GetManagedProperties in InternetOptionsHandler (Closed)

Created:
6 years, 3 months ago by stevenjb
Modified:
6 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_8a
Project:
chromium
Visibility:
Public.

Description

Use GetManagedProperties in InternetOptionsHandler This CL does the following: * Eliminates auto connect glue code * Elim SetManaged* helpers * Converts StaticIPConfig, SavedIPConfig, and WebProxyAutoDiscoveryUrl properties from Shill to ONC * Uses ManagedNetworkConfigurationHandler::GetManagedProperties in internet_options_handler.cc to get (almost) all properites. The remaining properties will require additional translation and/or design BUG=279351 Committed: https://crrev.com/9f86a5419435e3a4e89fadbc6f0caa68035ea30b Cr-Commit-Position: refs/heads/master@{#293816}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Feedback #

Total comments: 8

Patch Set 3 : Rebase with IPConfig translation in tree #

Patch Set 4 : Merge + logic fixes #

Patch Set 5 : Rebase, Clarify PrefixLengthToNetmask #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -462 lines) Patch
M chrome/browser/resources/options/chromeos/internet_detail.js View 1 2 3 4 8 chunks +153 lines, -70 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 14 chunks +25 lines, -392 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
stevenjb
stevenjb@chromium.org changed reviewers: + armansito@chromium.org, michaelpg@chromium.org, pneubeck@chromium.org
6 years, 3 months ago (2014-08-27 00:09:11 UTC) #1
stevenjb
OK, this is the big switch to using GetManagedNetworkProperties. There is still a lot of ...
6 years, 3 months ago (2014-08-27 00:09:11 UTC) #2
armansito
I would add unit tests for the new fields that are being translated.
6 years, 3 months ago (2014-08-27 00:26:22 UTC) #3
pneubeck (no reviews)
If my suggestions to the ONC part are confusing, I can also extract that part ...
6 years, 3 months ago (2014-09-03 15:14:29 UTC) #4
stevenjb
https://codereview.chromium.org/509643003/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/509643003/diff/1/chrome/browser/resources/options/chromeos/internet_detail.js#newcode1165 chrome/browser/resources/options/chromeos/internet_detail.js:1165: if (staticIpconfig && Object.keys(staticIpconfig).length > 0) On 2014/09/03 15:14:28, ...
6 years, 3 months ago (2014-09-03 21:28:06 UTC) #5
armansito
https://codereview.chromium.org/509643003/diff/20001/chromeos/network/onc/onc_translator_shill_to_onc.cc File chromeos/network/onc/onc_translator_shill_to_onc.cc (left): https://codereview.chromium.org/509643003/diff/20001/chromeos/network/onc/onc_translator_shill_to_onc.cc#oldcode116 chromeos/network/onc/onc_translator_shill_to_onc.cc:116: void CopyProperty(const OncFieldSignature* field_signature); Can you include the new ...
6 years, 3 months ago (2014-09-03 21:45:02 UTC) #6
pneubeck (no reviews)
lgtm with nits https://codereview.chromium.org/509643003/diff/1/chromeos/network/onc/onc_translator_shill_to_onc.cc File chromeos/network/onc/onc_translator_shill_to_onc.cc (right): https://codereview.chromium.org/509643003/diff/1/chromeos/network/onc/onc_translator_shill_to_onc.cc#newcode428 chromeos/network/onc/onc_translator_shill_to_onc.cc:428: scoped_ptr<base::DictionaryValue> static_ip(new base::DictionaryValue); On 2014/09/03 21:28:06, ...
6 years, 3 months ago (2014-09-04 14:54:14 UTC) #7
armansito
https://codereview.chromium.org/509643003/diff/20001/chrome/browser/resources/options/chromeos/internet_detail.js File chrome/browser/resources/options/chromeos/internet_detail.js (right): https://codereview.chromium.org/509643003/diff/20001/chrome/browser/resources/options/chromeos/internet_detail.js#newcode104 chrome/browser/resources/options/chromeos/internet_detail.js:104: var value = On 2014/09/04 14:54:13, pneubeck wrote: > ...
6 years, 3 months ago (2014-09-04 15:41:38 UTC) #8
stevenjb
https://codereview.chromium.org/509643003/diff/1/components/onc/docs/onc_spec.html File components/onc/docs/onc_spec.html (right): https://codereview.chromium.org/509643003/diff/1/components/onc/docs/onc_spec.html#newcode278 components/onc/docs/onc_spec.html:278: IPConfig property containing the configuration that was recieved from ...
6 years, 3 months ago (2014-09-08 18:14:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/509643003/80001
6 years, 3 months ago (2014-09-08 18:27:16 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001) as f23bb6b9f055fcb5ff12c91343e8d068a8adb09a
6 years, 3 months ago (2014-09-08 23:54:09 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:49:06 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9f86a5419435e3a4e89fadbc6f0caa68035ea30b
Cr-Commit-Position: refs/heads/master@{#293816}

Powered by Google App Engine
This is Rietveld 408576698