Descriptionflimflam: revise multi-profile support to pin objects to a profile
Change the way profiles are managed: instead of binding a service
to the active profile at create time, bind it to a profile on first
load/save. Also add a Profile property to the service object and support
setting it via D-bus (potentially moving an entry from one profile to
another). Other objects are always written to a global profile (if any);
this includes devices, ipconfig, and global settings (e.g. OfflineMode).
As part of this change make the profile write logic per-profile so
multiple profiles may be pending simultaneously. Also adds notifiers
for profile push/pop (used only by service now but could be used if
other objects need to be aware).
BUG=chromium-os:12948
TEST=manual:clear the global profile; login and join GoogleGuest; verify the entry is written to the user profile; logout and verify we disconnect; login again and verify we autoconnect to GoogleGuest; also use list-services to check Profile property and set-service-property to manually move profile binding of a service (checking raw profile data on disk)
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=f018bcd
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix handling of profile updates w/o a profile #Patch Set 3 : fix diff #
Messages
Total messages: 4 (0 generated)
|