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

Issue 68213018: ONC policy: Support SSID and Security change. (Closed)

Created:
7 years, 1 month ago by pneubeck (no reviews)
Modified:
7 years, 1 month ago
Reviewers:
bartfab (slow)
CC:
chromium-reviews, gauravsh+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

ONC policy: Support SSID and Security change. If the SSID of a ONC policy is changed without changing the GUID, this lead to a partial policy application where everything except the SSID is changed. This happened because Shill doesn't allow changes of the SSID property after the network creation but the policy application code didn't respect that. With this change, it's ensured that the respective network configuration (profile entry), is deleted and rewritten on each SSID change. The same applies to the Security type of the network. BUG=319362 R=bartfab@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235410

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -27 lines) Patch
M chromeos/network/policy_applicator.h View 1 chunk +3 lines, -6 lines 0 comments Download
M chromeos/network/policy_applicator.cc View 1 6 chunks +28 lines, -21 lines 0 comments Download
M chromeos/network/shill_property_util.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/network/shill_property_util.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
pneubeck (no reviews)
PTAL. Please ask me if any questions arise.
7 years, 1 month ago (2013-11-15 10:46:25 UTC) #1
bartfab (slow)
lgtm https://codereview.chromium.org/68213018/diff/30001/chromeos/network/policy_applicator.cc File chromeos/network/policy_applicator.cc (right): https://codereview.chromium.org/68213018/diff/30001/chromeos/network/policy_applicator.cc#newcode172 chromeos/network/policy_applicator.cc:172: scoped_ptr<base::DictionaryValue> new_shill_properties = Nit: #include "base/memory/scoped_ptr.h" https://codereview.chromium.org/68213018/diff/30001/chromeos/network/policy_applicator.cc#newcode191 chromeos/network/policy_applicator.cc:191: ...
7 years, 1 month ago (2013-11-15 15:37:50 UTC) #2
pneubeck (no reviews)
https://codereview.chromium.org/68213018/diff/30001/chromeos/network/policy_applicator.cc File chromeos/network/policy_applicator.cc (right): https://codereview.chromium.org/68213018/diff/30001/chromeos/network/policy_applicator.cc#newcode172 chromeos/network/policy_applicator.cc:172: scoped_ptr<base::DictionaryValue> new_shill_properties = On 2013/11/15 15:37:50, bartfab wrote: > ...
7 years, 1 month ago (2013-11-15 15:44:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/68213018/110001
7 years, 1 month ago (2013-11-15 15:46:41 UTC) #4
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=27603
7 years, 1 month ago (2013-11-15 16:34:56 UTC) #5
pneubeck (no reviews)
7 years, 1 month ago (2013-11-15 20:20:29 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r235410 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698