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

Side by Side Diff: net/cert/internal/parse_ocsp.h

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « net/cert/internal/name_constraints.h ('k') | net/disk_cache/blockfile/backend_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_INTERNAL_PARSE_OCSP_H_ 5 #ifndef NET_CERT_INTERNAL_PARSE_OCSP_H_
6 #define NET_CERT_INTERNAL_PARSE_OCSP_H_ 6 #define NET_CERT_INTERNAL_PARSE_OCSP_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "net/base/hash_value.h" 12 #include "net/base/hash_value.h"
13 #include "net/base/net_export.h"
13 #include "net/cert/internal/parse_certificate.h" 14 #include "net/cert/internal/parse_certificate.h"
14 #include "net/cert/internal/signature_algorithm.h" 15 #include "net/cert/internal/signature_algorithm.h"
15 #include "net/cert/ocsp_revocation_status.h" 16 #include "net/cert/ocsp_revocation_status.h"
16 #include "net/der/input.h" 17 #include "net/der/input.h"
17 #include "net/der/parse_values.h" 18 #include "net/der/parse_values.h"
18 #include "net/der/parser.h" 19 #include "net/der/parser.h"
19 #include "net/der/tag.h" 20 #include "net/der/tag.h"
20 21
21 namespace base { 22 namespace base {
22 class Time; 23 class Time;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // |max_age|. Expressed differently, returns true if |response.thisUpdate| <= 285 // |max_age|. Expressed differently, returns true if |response.thisUpdate| <=
285 // |verify_time| < response.nextUpdate, and |response.thisUpdate| >= 286 // |verify_time| < response.nextUpdate, and |response.thisUpdate| >=
286 // |verify_time| - |max_age|. 287 // |verify_time| - |max_age|.
287 NET_EXPORT_PRIVATE bool CheckOCSPDateValid(const OCSPSingleResponse& response, 288 NET_EXPORT_PRIVATE bool CheckOCSPDateValid(const OCSPSingleResponse& response,
288 const base::Time& verify_time, 289 const base::Time& verify_time,
289 const base::TimeDelta& max_age); 290 const base::TimeDelta& max_age);
290 291
291 } // namespace net 292 } // namespace net
292 293
293 #endif // NET_CERT_INTERNAL_PARSE_OCSP_H_ 294 #endif // NET_CERT_INTERNAL_PARSE_OCSP_H_
OLDNEW
« no previous file with comments | « net/cert/internal/name_constraints.h ('k') | net/disk_cache/blockfile/backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698