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

Unified Diff: chromeos/network/certificate_pattern_matcher.cc

Issue 14566009: Add NetworkConnectionHandler class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert Associating Stub change for test Created 7 years, 7 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: 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
« no previous file with comments | « chromeos/network/certificate_pattern_matcher.h ('k') | chromeos/network/managed_network_configuration_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698