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

Issue 8804021: Proper management for policy-configured networks. (Closed)

Created:
9 years ago by Mattias Nissler (ping if slow)
Modified:
9 years ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Proper management for policy-configured networks. This makes sure policy-configured networks get assigned to the correct profile. Also, they're now removed from the profile when the policy doesn't specify them any longer. Relies on the GUID fields in the network specifications, and requires https://gerrit.chromium.org/gerrit/#change,12437 on the flimflam side. BUG=chromium-os:19411 TEST=Configure a network through policy. Remove that network and reload policy. The network should disappear from the network list. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114623

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix unit tests. #

Patch Set 3 : Address Steven's comments. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -8 lines) Patch
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 4 chunks +64 lines, -3 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater.cc View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/policy/network_configuration_updater_unittest.cc View 1 2 3 4 3 chunks +28 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mattias Nissler (ping if slow)
Steven: Main reviewer Julian: chrome/browser/policy Ken: FYI
9 years ago (2011-12-05 19:12:10 UTC) #1
stevenjb
http://codereview.chromium.org/8804021/diff/1/chrome/browser/chromeos/cros/network_library.cc File chrome/browser/chromeos/cros/network_library.cc (right): http://codereview.chromium.org/8804021/diff/1/chrome/browser/chromeos/cros/network_library.cc#newcode2864 chrome/browser/chromeos/cros/network_library.cc:2864: std::vector<Network*> networks; Can use ScopedVector here instead of STLDeleteElements ...
9 years ago (2011-12-05 20:36:37 UTC) #2
Mattias Nissler (ping if slow)
Addressed your comments, fixed unit tests, and removed that stray file that should have been ...
9 years ago (2011-12-05 20:58:29 UTC) #3
stevenjb
LGTM
9 years ago (2011-12-05 22:48:02 UTC) #4
pastarmovj
LGTM
9 years ago (2011-12-06 08:49:03 UTC) #5
kmixter1
9 years ago (2011-12-14 22:00:01 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698