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

Unified Diff: net/base/test_data_directory.cc

Issue 11739004: Add server certificate request parameters to be stored in SSLCertRequestInfo. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address Ryan's remark ( ASSERT_TRUE(ptr) ) Created 7 years, 11 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
« no previous file with comments | « net/base/test_data_directory.h ('k') | net/socket/ssl_client_socket_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_data_directory.cc
diff --git a/net/base/test_data_directory.cc b/net/base/test_data_directory.cc
index 8e609c948f49b50703232c4b9a8dccbadeab738c..3398fc088c1742e54e4ffeb59af3420194dc3712 100644
--- a/net/base/test_data_directory.cc
+++ b/net/base/test_data_directory.cc
@@ -9,10 +9,19 @@
namespace net {
+namespace {
+const FilePath::CharType kCertificateRelativePath[] =
+ FILE_PATH_LITERAL("net/data/ssl/certificates");
+} // namespace
+
FilePath GetTestCertsDirectory() {
- FilePath certs_dir;
- PathService::Get(base::DIR_SOURCE_ROOT, &certs_dir);
- return certs_dir.Append(FILE_PATH_LITERAL("net/data/ssl/certificates"));
+ FilePath src_root;
+ PathService::Get(base::DIR_SOURCE_ROOT, &src_root);
+ return src_root.Append(kCertificateRelativePath);
+}
+
+FilePath GetTestCertsDirectoryRelative() {
+ return FilePath(kCertificateRelativePath);
}
FilePath GetWebSocketTestDataDirectory() {
« no previous file with comments | « net/base/test_data_directory.h ('k') | net/socket/ssl_client_socket_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698