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

Side by Side Diff: chromeos/network/certificate_pattern_matcher.h

Issue 22588002: Refactor the client certificate code in chromeos/network/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrections after rebase. Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #ifndef CHROMEOS_NETWORK_CERTIFICATE_PATTERN_MATCHER_H_
6 #define CHROMEOS_NETWORK_CERTIFICATE_PATTERN_MATCHER_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "chromeos/chromeos_export.h"
10
11 namespace net {
12 class X509Certificate;
13 }
14
15 namespace chromeos {
16
17 class CertificatePattern;
18
19 namespace certificate_pattern {
20
21 // Fetches the matching certificate that has the latest valid start date.
22 // Returns a NULL refptr if there is no such match.
23 CHROMEOS_EXPORT scoped_refptr<net::X509Certificate> GetCertificateMatch(
24 const CertificatePattern& pattern);
25
26 } // namespace certificate_pattern
27
28 } // namespace chromeos
29
30 #endif // CHROMEOS_NETWORK_CERTIFICATE_PATTERN_MATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698