Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / extensions / common / cast / cast_cert_validator.cc
blobe4f0440ca07c1f9dd31321e5cf654f82a28a0b30
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/common/cast/cast_cert_validator.h"
7 namespace extensions {
8 namespace core_api {
9 namespace cast_crypto {
11 VerificationResult::VerificationResult()
12 : VerificationResult("", ERROR_NONE, 0) {
15 VerificationResult::VerificationResult(const std::string& in_error_message,
16 ErrorType in_error_type)
17 : VerificationResult(in_error_message, in_error_type, 0) {
20 VerificationResult::VerificationResult(const std::string& in_error_message,
21 ErrorType in_error_type,
22 int in_error_code)
23 : error_type(in_error_type),
24 error_message(in_error_message),
25 library_error_code(in_error_code) {
28 } // namespace cast_crypto
29 } // namespace core_api
30 } // namespace extensions