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

Unified Diff: content/browser/cert_store_impl.h

Issue 11274038: content/browser: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win - part2 Created 8 years, 2 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 | « content/browser/browser_url_handler_impl_unittest.cc ('k') | content/browser/cert_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cert_store_impl.h
diff --git a/content/browser/cert_store_impl.h b/content/browser/cert_store_impl.h
index aa683c033b997288953f71f47e3d744db9d7a200..5c13fa3cbea87edc31414911373b21471b46d93e 100644
--- a/content/browser/cert_store_impl.h
+++ b/content/browser/cert_store_impl.h
@@ -14,8 +14,10 @@
#include "content/public/browser/notification_registrar.h"
#include "net/base/x509_certificate.h"
-class CertStoreImpl : public content::CertStore,
- public content::NotificationObserver {
+namespace content {
+
+class CertStoreImpl : public CertStore,
+ public NotificationObserver {
public:
// Returns the singleton instance of the CertStore.
static CertStoreImpl* GetInstance();
@@ -26,10 +28,10 @@ class CertStoreImpl : public content::CertStore,
virtual bool RetrieveCert(int cert_id,
scoped_refptr<net::X509Certificate>* cert) OVERRIDE;
- // content::NotificationObserver implementation.
+ // NotificationObserver implementation.
virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ const NotificationSource& source,
+ const NotificationDetails& details) OVERRIDE;
protected:
CertStoreImpl();
virtual ~CertStoreImpl();
@@ -52,7 +54,7 @@ class CertStoreImpl : public content::CertStore,
ReverseCertMap;
// Is only used on the UI Thread.
- content::NotificationRegistrar registrar_;
+ NotificationRegistrar registrar_;
IDMap process_id_to_cert_id_;
IDMap cert_id_to_process_id_;
@@ -69,4 +71,6 @@ class CertStoreImpl : public content::CertStore,
DISALLOW_COPY_AND_ASSIGN(CertStoreImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_CERT_STORE_IMPL_H_
« no previous file with comments | « content/browser/browser_url_handler_impl_unittest.cc ('k') | content/browser/cert_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698