Add net/base/test_data_directory.h
- move GetTestCertsDirectory() from net/base/certs_test_util
BUG=157531
TEST=build all
[email protected]
Review URL: https://chromiumcodereview.appspot.com/11342034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165348 0039d316-1c4b-4281-b951-d872f2087c98
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 @@
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,