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

Unified Diff: net/base/cert_test_util.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « media/webm/chromeos/webm_encoder.h ('k') | net/base/file_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_test_util.h
diff --git a/net/base/cert_test_util.h b/net/base/cert_test_util.h
index 9f23b7debf1dbb3dec7cf7cda6ce33b0d7104f39..db49e87327c8ea431e582ff803398f5933a825e1 100644
--- a/net/base/cert_test_util.h
+++ b/net/base/cert_test_util.h
@@ -11,13 +11,15 @@
#include "net/base/x509_cert_types.h"
#include "net/base/x509_certificate.h"
+namespace base {
class FilePath;
+}
namespace net {
class EVRootCAMetadata;
-CertificateList CreateCertificateListFromFile(const FilePath& certs_dir,
+CertificateList CreateCertificateListFromFile(const base::FilePath& certs_dir,
const std::string& cert_file,
int format);
@@ -26,7 +28,7 @@ CertificateList CreateCertificateListFromFile(const FilePath& certs_dir,
// |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,
+scoped_refptr<X509Certificate> ImportCertFromFile(const base::FilePath& certs_dir,
const std::string& cert_file);
// ScopedTestEVPolicy causes certificates marked with |policy|, issued from a
« no previous file with comments | « media/webm/chromeos/webm_encoder.h ('k') | net/base/file_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698