if (!RegisterSecurityContextForManifest(context_, &error_message)) {
if (!error_message.empty()) {
LOG(ERROR) << "error_message: " << error_message;
- on_error(Status::SECURITY_ERROR, error_message);
+ on_error_->on_error(Status::SECURITY_ERROR, error_message);
}
return Status::SECURITY_ERROR;
}
context_->is_readonly_package.get(), &error_message)) {
if (!error_message.empty()) {
LOG(ERROR) << "error_message: " << error_message;
- on_error(Status::SECURITY_ERROR, error_message);
+ on_error_->on_error(Status::SECURITY_ERROR, error_message);
}
return Status::SECURITY_ERROR;
}
context_->is_readonly_package.get(), &error_message)) {
if (!error_message.empty()) {
LOG(ERROR) << "error_message: " << error_message;
- on_error(Status::SECURITY_ERROR, error_message);
+ on_error_->on_error(Status::SECURITY_ERROR, error_message);
}
return Status::SECURITY_ERROR;
}