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

Unified Diff: net/cert/test_root_certs.cc

Issue 188873004: Compile src/net for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« net/cert/crl_set.cc ('K') | « net/cert/crl_set.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/test_root_certs.cc
diff --git a/net/cert/test_root_certs.cc b/net/cert/test_root_certs.cc
index f4958901685170b4377fed30a03f3729030a7c55..a06b916d4845e60b644368d002f56dc7cd46f139 100644
--- a/net/cert/test_root_certs.cc
+++ b/net/cert/test_root_certs.cc
@@ -21,6 +21,10 @@ base::LazyInstance<TestRootCerts>::Leaky
g_test_root_certs = LAZY_INSTANCE_INITIALIZER;
CertificateList LoadCertificates(const base::FilePath& filename) {
+#if defined(OS_NACL)
+ NOTIMPLEMENTED();
+ return CertificateList();
+#else
std::string raw_cert;
if (!base::ReadFileToString(filename, &raw_cert)) {
LOG(ERROR) << "Can't load certificate " << filename.value();
@@ -29,6 +33,7 @@ CertificateList LoadCertificates(const base::FilePath& filename) {
return X509Certificate::CreateCertificateListFromBytes(
raw_cert.data(), raw_cert.length(), X509Certificate::FORMAT_AUTO);
+#endif
}
} // namespace
« net/cert/crl_set.cc ('K') | « net/cert/crl_set.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698