Index: chromeos/network/certificate_pattern_matcher.cc |
diff --git a/chrome/browser/chromeos/cros/certificate_pattern_matcher.cc b/chromeos/network/certificate_pattern_matcher.cc |
similarity index 97% |
rename from chrome/browser/chromeos/cros/certificate_pattern_matcher.cc |
rename to chromeos/network/certificate_pattern_matcher.cc |
index f733d6088f7e8b2e833f038f5c12182a9af1ea4b..816b5f6950051960ec202e80571f852953e9afb7 100644 |
--- a/chrome/browser/chromeos/cros/certificate_pattern_matcher.cc |
+++ b/chromeos/network/certificate_pattern_matcher.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/chromeos/cros/certificate_pattern_matcher.h" |
+#include "chromeos/network/certificate_pattern_matcher.h" |
#include <cert.h> |
#include <pk11pub.h> |
@@ -130,6 +130,8 @@ class IssuerCaRefFilter { |
} // namespace |
+namespace certificate_pattern { |
+ |
scoped_refptr<net::X509Certificate> GetCertificateMatch( |
const CertificatePattern& pattern) { |
typedef std::list<scoped_refptr<net::X509Certificate> > CertificateStlList; |
@@ -190,4 +192,6 @@ scoped_refptr<net::X509Certificate> GetCertificateMatch( |
return latest; |
} |
+} // namespace certificate_pattern |
+ |
} // namespace chromeos |