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

Unified Diff: chrome/browser/chromeos/cros/certificate_pattern_matcher.h

Issue 13454006: Moving ManagedNetworkConfigurationHandler to chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up parsing of NetworkUIData. Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/certificate_pattern_matcher.h
diff --git a/chrome/browser/chromeos/cros/certificate_pattern_matcher.h b/chrome/browser/chromeos/cros/certificate_pattern_matcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..941260672755ce8f180f65c5dcf88be5ab9850ee
--- /dev/null
+++ b/chrome/browser/chromeos/cros/certificate_pattern_matcher.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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.
+
+#ifndef CHROME_BROWSER_CHROMEOS_CROS_CERTIFICATE_PATTERN_MATCHER_H_
+#define CHROME_BROWSER_CHROMEOS_CROS_CERTIFICATE_PATTERN_MATCHER_H_
+
+#include "base/memory/ref_counted.h"
+
+namespace net {
+class X509Certificate;
+}
+
+namespace chromeos {
+
+class CertificatePattern;
+
+// Fetches the matching certificate that has the latest valid start date.
+// Returns a NULL refptr if there is no such match.
+scoped_refptr<net::X509Certificate> GetCertificateMatch(
+ const CertificatePattern& pattern);
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_CROS_CERTIFICATE_PATTERN_MATCHER_H_
« no previous file with comments | « chrome/browser/chromeos/cros/certificate_pattern.cc ('k') | chrome/browser/chromeos/cros/certificate_pattern_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698