summaryrefslogtreecommitdiffstats
path: root/net/base/cert_test_util.h
diff options
context:
space:
mode:
authortoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 12:44:40 +0000
committertoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 12:44:40 +0000
commit42fdb45bfed58abde34584ef81506f93e78cb3ff (patch)
tree142313abbcd7c6ebe3a863691e8bc3f8733000fa /net/base/cert_test_util.h
parent75a5591a6b329b8b12605ea4500c487e3789295c (diff)
downloadchromium_src-42fdb45bfed58abde34584ef81506f93e78cb3ff.zip
chromium_src-42fdb45bfed58abde34584ef81506f93e78cb3ff.tar.gz
chromium_src-42fdb45bfed58abde34584ef81506f93e78cb3ff.tar.bz2
Add net/base/test_data_directory.h
- move GetTestCertsDirectory() from net/base/certs_test_util BUG=157531 TEST=build all TBR=wtc@chromium.org Review URL: https://chromiumcodereview.appspot.com/11342034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_test_util.h')
-rw-r--r--net/base/cert_test_util.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/base/cert_test_util.h b/net/base/cert_test_util.h
index eb9e7eb..9f23b7d 100644
--- a/net/base/cert_test_util.h
+++ b/net/base/cert_test_util.h
@@ -17,16 +17,13 @@ namespace net {
class EVRootCAMetadata;
-// Returns a FilePath object representing the src/net/data/ssl/certificates
-// directory in the source tree.
-FilePath GetTestCertsDirectory();
-
CertificateList CreateCertificateListFromFile(const FilePath& certs_dir,
const std::string& cert_file,
int format);
-// Imports a certificate file in the src/net/data/ssl/certificates directory.
-// certs_dir represents the test certificates directory. cert_file is the
+// Imports a certificate file in the directory net::GetTestCertsDirectory()
+// returns.
+// |certs_dir| represents the test certificates directory. |cert_file| is the
// name of the certificate file. If cert_file contains multiple certificates,
// the first certificate found will be returned.
scoped_refptr<X509Certificate> ImportCertFromFile(const FilePath& certs_dir,