commit | c43cbbe5b33a7afe1b1250bef87fb8e9223cb764 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Apr 11 06:29:30 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Mon Apr 15 17:11:38 2013 -0700 |
tree | 22af0f75679e76ba1fd72b592eba4ceab6956aca | |
parent | 9413bcc8c3576eeab8f232253264dce4347bbb0c [diff] |
shill: EapCredentials: Promote to a class Promote the EapCredentials structure to a sovereign class with a small set of getters and setters where necessary. Otherwise, move most of the member manipulation (creating arguments for wpa_supplicant and wimax_manager, Load() and Save()) interior to the class. This involves a straightforwarnd but lengthy refactor of just about everything that uses EapCredentials. The EapCredentials object is ref-counted to allow it to be shared between some services. For this reason, move the "remote_certification" property out of EapCredentials into Service since this property is strictly per-service. BUG=chromium:227434 TEST=Unit tests, wired 802.1x and wifi EAP-TLS autotests Change-Id: I167e71e1d9c934bc328a0e1d73f638e1ff50d238 Reviewed-on: https://gerrit.chromium.org/gerrit/47973 Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>