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

Unified Diff: content/browser/cert_store_impl.h

Issue 11340029: Move remaining files in content\browser to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
Index: content/browser/cert_store_impl.h
===================================================================
--- content/browser/cert_store_impl.h (revision 164795)
+++ content/browser/cert_store_impl.h (working copy)
@@ -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 @@
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 @@
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 @@
DISALLOW_COPY_AND_ASSIGN(CertStoreImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_CERT_STORE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698