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

Issue 11962048: This adds Cellular to the Shill to ONC translation. (Closed)

Created:
7 years, 11 months ago by Greg Spencer (Chromium)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, gauravsh+watch_chromium.org, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

This adds Cellular to the Shill to ONC translation. It also populates the Name property when translating from Shill to ONC, and adds a ConnectionState property in ONC that indicates the current connection state of the network. (TBR'ing OWNERS because it's just refactoring: moving symbols into more specific namespaces) TBR=zelidrag@chromium.org,glotov@chromium.org,mnissler@chromium.org BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178228

Patch Set 1 : Moved configuration values into a namespace #

Patch Set 2 : Fix some semantics #

Total comments: 47

Patch Set 3 : Review changes #

Total comments: 8

Patch Set 4 : Review changes #

Patch Set 5 : Stop exporting translation table functions #

Patch Set 6 : Fix compile error #

Patch Set 7 : Fixing broken unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -114 lines) Patch
M chrome/browser/chromeos/cros/network_library_impl_base.cc View 1 2 5 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_unittest.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/proxy_config_service_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_certificate_importer_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_constants.h View 1 2 3 6 chunks +63 lines, -8 lines 0 comments Download
M chromeos/network/onc/onc_constants.cc View 1 2 3 4 5 chunks +63 lines, -6 lines 0 comments Download
M chromeos/network/onc/onc_normalizer.cc View 1 2 1 chunk +12 lines, -10 lines 0 comments Download
M chromeos/network/onc/onc_signature.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 2 3 5 chunks +80 lines, -16 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translation_tables.cc View 3 chunks +30 lines, -4 lines 0 comments Download
M chromeos/network/onc/onc_translator_onc_to_shill.cc View 1 2 3 chunks +10 lines, -9 lines 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 2 3 8 chunks +51 lines, -21 lines 0 comments Download
M chromeos/network/onc/onc_utils.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/onc/onc_validator.cc View 1 2 3 4 5 6 6 chunks +36 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Greg Spencer (Chromium)
Hi Phillipp, here are some changes I have so that I can use your ONC ...
7 years, 11 months ago (2013-01-17 22:50:23 UTC) #1
pneubeck (no reviews)
The latter, as I did for the name field: - don't set the shill name ...
7 years, 11 months ago (2013-01-18 10:27:41 UTC) #2
Greg Spencer (Chromium)
https://codereview.chromium.org/11962048/diff/12001/chromeos/network/onc/onc_constants.h File chromeos/network/onc/onc_constants.h (right): https://codereview.chromium.org/11962048/diff/12001/chromeos/network/onc/onc_constants.h#newcode22 chromeos/network/onc/onc_constants.h:22: // Top Level ONC. On 2013/01/18 10:27:41, pneubeck wrote: ...
7 years, 11 months ago (2013-01-18 22:27:43 UTC) #3
pneubeck (no reviews)
LGTM if you address the remaining comments (also the previous ones in chromeos/network/onc/onc_validator.cc) https://codereview.chromium.org/11962048/diff/12001/chromeos/network/onc/onc_translation_tables.h File ...
7 years, 11 months ago (2013-01-21 08:32:18 UTC) #4
pneubeck (no reviews)
One last thing: https://codereview.chromium.org/11962048/diff/13002/chromeos/network/onc/onc_constants.h File chromeos/network/onc/onc_constants.h (right): https://codereview.chromium.org/11962048/diff/13002/chromeos/network/onc/onc_constants.h#newcode57 chromeos/network/onc/onc_constants.h:57: CHROMEOS_EXPORT extern const char kAllTypes[]; This ...
7 years, 11 months ago (2013-01-21 09:02:33 UTC) #5
pneubeck (no reviews)
Ok, I lied :-) Still found something. Not directly related to the read-only flag, but ...
7 years, 11 months ago (2013-01-21 09:26:40 UTC) #6
Greg Spencer (Chromium)
https://codereview.chromium.org/11962048/diff/12001/chromeos/network/onc/onc_validator.cc File chromeos/network/onc/onc_validator.cc (right): https://codereview.chromium.org/11962048/diff/12001/chromeos/network/onc/onc_validator.cc#newcode392 chromeos/network/onc/onc_validator.cc:392: kValidTypes)) On 2013/01/18 10:27:41, pneubeck wrote: > toplevel_config::kType Done. ...
7 years, 11 months ago (2013-01-22 19:10:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/11962048/26046
7 years, 11 months ago (2013-01-22 22:28:45 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=76548
7 years, 11 months ago (2013-01-23 00:00:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/11962048/19003
7 years, 11 months ago (2013-01-23 00:55:56 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-23 03:32:35 UTC) #11
Message was sent while issue was closed.
Change committed as 178228

Powered by Google App Engine
This is Rietveld 408576698