[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / public / common / signed_certificate_timestamp_id_and_status.h
blob66da00832fffe6ecf4d3bd0b0780af33f2326f4d
1 // Copyright 2013 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.
5 #ifndef CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
6 #define CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
8 #include <vector>
10 #include "content/common/content_export.h"
11 #include "net/cert/sct_status_flags.h"
13 namespace content {
15 // Holds the ID of a SignedCertificateTimestamp (as assigned by
16 // SignedCertificateTimestampStore), and its verification status.
17 struct CONTENT_EXPORT SignedCertificateTimestampIDAndStatus {
18 SignedCertificateTimestampIDAndStatus(
19 int id, net::ct::SCTVerifyStatus status);
21 bool operator==(const SignedCertificateTimestampIDAndStatus& other) const;
23 int id;
24 net::ct::SCTVerifyStatus status;
27 typedef std::vector<SignedCertificateTimestampIDAndStatus>
28 SignedCertificateTimestampIDStatusList;
30 } // namespace content
32 #endif // CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_