OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #include "extensions/common/cast/cast_cert_validator.h" | |
6 | |
7 namespace extensions { | |
8 namespace core_api { | |
9 namespace cast_crypto { | |
10 | |
11 VerificationResult::VerificationResult() | |
12 : VerificationResult("", ERROR_NONE, 0) { | |
13 } | |
14 | |
15 VerificationResult::VerificationResult(const std::string& in_error_message, | |
16 ErrorType in_error_type) | |
17 : VerificationResult(in_error_message, in_error_type, 0) { | |
18 } | |
19 | |
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) { | |
26 } | |
27 | |
28 } // namespace cast_crypto | |
29 } // namespace core_api | |
30 } // namespace extensions | |
OLD | NEW |