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

Unified Diff: chrome/browser/extensions/extension_management_api.h

Issue 6546072: Clean up how we handle themes in the extensions system and management API.... Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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: chrome/browser/extensions/extension_management_api.h
===================================================================
--- chrome/browser/extensions/extension_management_api.h (revision 75613)
+++ chrome/browser/extensions/extension_management_api.h (working copy)
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_H__
#pragma once
-#include "base/singleton.h"
#include "chrome/browser/extensions/extension_function.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
@@ -50,18 +49,13 @@
class ExtensionManagementEventRouter : public NotificationObserver {
public:
- // Get the singleton instance of the event router.
- static ExtensionManagementEventRouter* GetInstance();
+ ExtensionManagementEventRouter();
+ virtual ~ExtensionManagementEventRouter();
- // Performs one-time initialization of our singleton.
+ // Performs one-time initialization.
void Init();
private:
- friend struct DefaultSingletonTraits<ExtensionManagementEventRouter>;
-
- ExtensionManagementEventRouter();
- virtual ~ExtensionManagementEventRouter();
-
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
const NotificationSource& source,
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698