Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Side by Side Diff: extensions/common/cast/cast_cert_validator.cc

Issue 853663003: Revert of Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « extensions/common/cast/cast_cert_validator.h ('k') | extensions/common/cast/cast_cert_validator_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698