This is a mechanical change.
It is changing the interface of the CRXInstaller so that we can eliminate such code below:
// TODO(ddorwin): Change parameter to std::unique_ptr<base::DictionaryValue>
// so we can avoid this DeepCopy.
current_manifest_.reset(manifest.DeepCopy());
std::unique_ptr<base::DictionaryValue> manifest_copy(
current_manifest_->DeepCopy());
main_task_runner_->PostTask(
FROM_HERE,
base::Bind(&DefaultComponentInstaller::ComponentReady,
this, base::Passed(&manifest_copy)));
return result;
The change makes the types in the ComponentInstallerTraits interface more consistent, as it is using "const base::DictionaryValue& manifest" everywhere.
Comment 1 by bugdroid1@chromium.org
, Jun 2 2017