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

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

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ChromeOS unit tests. Created 6 years 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 : error_type(ERROR_NONE), library_error_code(0) {
mark a. foltz 2014/12/18 00:43:42 Consider using a delegated constructor here to red
sheretov 2015/01/03 03:18:02 It looks about as verbose, but with an unsightly t
13 }
14
15 VerificationResult::VerificationResult(const std::string& in_error_message,
16 ErrorType in_error_type)
17 : error_type(in_error_type), error_message(in_error_message) {
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

Powered by Google App Engine
This is Rietveld 408576698