Currently, EncryptSerializedReport and the proto it uses (EncryptedCertLoggerRequest) are only being used for certificate reports, and are therefore included in components/certificate_reporting/error_reporter.cc. In order to use them for crbug.com/769136 they will be made more general and moved into a new encrypted_reports component.
Comment 1 by carlosil@chromium.org
, Sep 27 2017