summaryrefslogtreecommitdiffstats
path: root/content/public/common/signed_certificate_timestamp_id_and_status.cc
blob: e61ca58a2384bad30b738ff06fd769d17ff066fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2013 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 "content/public/common/signed_certificate_timestamp_id_and_status.h"

namespace content {

SignedCertificateTimestampIDAndStatus::SignedCertificateTimestampIDAndStatus(
    int id, net::ct::SCTVerifyStatus status)
    : id(id), status(status) {}

bool SignedCertificateTimestampIDAndStatus::operator==(
    const SignedCertificateTimestampIDAndStatus& other) const {
  return id == other.id && status == other.status;
}

}  // namespace content