~zyga/checkbox/local-device

Viewing all changes in revision 3366.

  • Committer: Zygmunt Krynicki
  • Date: 2014-10-15 17:39:23 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20141015173923-k018kb5rf0muzm7u
plainbox:session: add device awareness to SessionDeviceContext

This patch finally makes the SessionDeviceContext class handle Device
objects. The device is now a mandatory argument (all of the current call
sites were adapted to pass Device.open_local() there). Adding a provider
to the device will transparently push it to the device. Execution
controllers are no longer handled internally and instead are now finally
loaded from the device, using the provider consumer API.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: