class DevicePartitionerFactory

Defined at line 153 of file ../../src/firmware/paver/device-partitioner.h

Public Methods

void ~DevicePartitionerFactory ()

Defined at line 166 of file ../../src/firmware/paver/device-partitioner.h

zx::result<std::unique_ptr<DevicePartitioner>> Create (const BlockDevices & devices, fidl::UnownedClientEnd<fuchsia_io::Directory> svc_root, const PaverConfig & config, std::shared_ptr<Context> context, BlockAndController block_device)

Factory method which automatically returns the correct DevicePartitioner implementation based

factories registered with it.

|block_device| is root block device which contains the logical partitions we wish to operate

against. It's only meaningful for EFI and CROS devices which may have multiple storage devices.

Defined at line 167 of file ../../src/firmware/paver/device-partitioner.cc

void Register (std::unique_ptr<DevicePartitionerFactory> factory)

Defined at line 192 of file ../../src/firmware/paver/device-partitioner.cc