diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
commit | 8ac1a75acadaa2aae065212cb6255d00c789a184 (patch) | |
tree | 854eaf66ba8ce7e581bd8e6f1fa75f46d22f4bb7 /chrome/browser/cert_store.h | |
parent | 287a019ed5d015185cab41f6c7156dc6c4cbcee7 (diff) | |
download | chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.zip chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.gz chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.bz2 |
Move more net classes into the net namespace. Also remove the net_util namespace in favor of the net namespace.
This is a purely mechanical change. There should be no logic changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cert_store.h')
-rw-r--r-- | chrome/browser/cert_store.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/cert_store.h b/chrome/browser/cert_store.h index 453f0b9..24b5f91 100644 --- a/chrome/browser/cert_store.h +++ b/chrome/browser/cert_store.h @@ -61,12 +61,12 @@ class CertStore : public NotificationObserver { // When all the RenderProcessHosts associated with a cert have exited, the // cert is removed from the store. // Note: ids starts at 1. - int StoreCert(X509Certificate* cert, int render_process_host_id); + int StoreCert(net::X509Certificate* cert, int render_process_host_id); // Retrieves the previously stored cert associated with the specified // |cert_id| and set it in |cert|. Returns false if no cert was found for // that id. - bool RetrieveCert(int cert_id, scoped_refptr<X509Certificate>* cert); + bool RetrieveCert(int cert_id, scoped_refptr<net::X509Certificate>* cert); // NotificationObserver implementation. virtual void Observe(NotificationType type, @@ -86,8 +86,8 @@ class CertStore : public NotificationObserver { static CertStore* instance_; typedef std::multimap<int, int> IDMap; - typedef std::map<int, scoped_refptr<X509Certificate>> CertMap; - typedef std::map<X509Certificate*, int, X509Certificate::LessThan> + typedef std::map<int, scoped_refptr<net::X509Certificate>> CertMap; + typedef std::map<net::X509Certificate*, int, net::X509Certificate::LessThan> ReverseCertMap; IDMap process_id_to_cert_id_; |