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

Side by Side Diff: net/third_party/mozilla_security_manager/nsPKCS12Blob.h

Issue 16652007: Use a direct include of strings headers in net/test/, net/third_party/, net/tools/, net/udp/, net/u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* ***** BEGIN LICENSE BLOCK ***** 1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 * 3 *
4 * The contents of this file are subject to the Mozilla Public License Version 4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with 5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at 6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/ 7 * http://www.mozilla.org/MPL/
8 * 8 *
9 * Software distributed under the License is distributed on an "AS IS" basis, 9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
(...skipping 24 matching lines...) Expand all
35 * 35 *
36 * ***** END LICENSE BLOCK ***** */ 36 * ***** END LICENSE BLOCK ***** */
37 37
38 #ifndef NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_ 38 #ifndef NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_
39 #define NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_ 39 #define NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_
40 40
41 #include <string> 41 #include <string>
42 #include <vector> 42 #include <vector>
43 43
44 #include "base/memory/ref_counted.h" 44 #include "base/memory/ref_counted.h"
45 #include "base/string16.h" 45 #include "base/strings/string16.h"
46 46
47 typedef struct CERTCertificateStr CERTCertificate; 47 typedef struct CERTCertificateStr CERTCertificate;
48 typedef struct PK11SlotInfoStr PK11SlotInfo; 48 typedef struct PK11SlotInfoStr PK11SlotInfo;
49 namespace net { 49 namespace net {
50 class X509Certificate; 50 class X509Certificate;
51 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; 51 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
52 } // namespace net 52 } // namespace net
53 53
54 namespace mozilla_security_manager { 54 namespace mozilla_security_manager {
55 55
(...skipping 14 matching lines...) Expand all
70 // Export the given certificates into a PKCS#12 blob, storing into output. 70 // Export the given certificates into a PKCS#12 blob, storing into output.
71 // Returns the number of certificates exported. 71 // Returns the number of certificates exported.
72 // TODO(mattm): provide better error return status? 72 // TODO(mattm): provide better error return status?
73 int nsPKCS12Blob_Export(std::string* output, 73 int nsPKCS12Blob_Export(std::string* output,
74 const net::CertificateList& certs, 74 const net::CertificateList& certs,
75 const base::string16& password); 75 const base::string16& password);
76 76
77 } // namespace mozilla_security_manager 77 } // namespace mozilla_security_manager
78 78
79 #endif // NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_ 79 #endif // NET_THIRD_PARTY_MOZILLA_SECURITY_MANAGER_NSPKCS12BLOB_H_
OLDNEW
« no previous file with comments | « net/test/spawned_test_server/spawner_communicator.cc ('k') | net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698