Currently, we copy a bunch of our permissions-related objects (including APIPermissionSets, ManifestPermissionSets, URLPatternSets, etc). These should instead be std::move()-able. While we're at it, we should also make PermissionSet std::move-able, to potentially cut down on some of the unique_ptr wrapping.
Depending on common usage, we may also be able to restrict copying to deliberate Clone() methods to encourage std::move()ing.
Comment 1 by bugdroid1@chromium.org
, Dec 5