Chromium Code Reviews| Index: extensions/common/cast/cast_cert_validator.cc |
| diff --git a/extensions/common/cast/cast_cert_validator.cc b/extensions/common/cast/cast_cert_validator.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ccdb6fde6b3a4918450b9fe73e27ac73e65db729 |
| --- /dev/null |
| +++ b/extensions/common/cast/cast_cert_validator.cc |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "extensions/common/cast/cast_cert_validator.h" |
| + |
| +namespace extensions { |
| +namespace core_api { |
| +namespace cast_crypto { |
| + |
| +VerificationResult::VerificationResult() |
| + : error_type(ERROR_NONE), library_error_code(0) { |
| +} |
| + |
| +VerificationResult::VerificationResult(const std::string& in_error_message, |
| + ErrorType in_error_type) |
| + : error_type(in_error_type), error_message(in_error_message) { |
|
mef
2015/01/06 20:57:34
missing error_code initializer.
sheretov
2015/01/06 22:29:31
Done.
|
| +} |
| + |
| +VerificationResult::VerificationResult(const std::string& in_error_message, |
| + ErrorType in_error_type, |
| + int in_error_code) |
| + : error_type(in_error_type), |
| + error_message(in_error_message), |
| + library_error_code(in_error_code) { |
| +} |
| + |
| +} // namespace cast_crypto |
| +} // namespace core_api |
| +} // namespace extensions |