Index: chrome/browser/extensions/menu_manager_factory.h |
diff --git a/chrome/browser/extensions/extension_toolbar_model_factory.h b/chrome/browser/extensions/menu_manager_factory.h |
similarity index 55% |
copy from chrome/browser/extensions/extension_toolbar_model_factory.h |
copy to chrome/browser/extensions/menu_manager_factory.h |
index 29884be1320e4877465a5a5ceba4d9803c74da3a..6811151ed386f54787ed7499acdbf0fb25880643 100644 |
--- a/chrome/browser/extensions/extension_toolbar_model_factory.h |
+++ b/chrome/browser/extensions/menu_manager_factory.h |
@@ -2,27 +2,29 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_FACTORY_H_ |
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_FACTORY_H_ |
+#ifndef CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_FACTORY_H_ |
+#define CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_FACTORY_H_ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/singleton.h" |
#include "components/browser_context_keyed_service/browser_context_keyed_service_factory.h" |
-class ExtensionToolbarModel; |
class Profile; |
-class ExtensionToolbarModelFactory : public BrowserContextKeyedServiceFactory { |
+namespace extensions { |
+class MenuManager; |
+ |
+class MenuManagerFactory : public BrowserContextKeyedServiceFactory { |
public: |
- static ExtensionToolbarModel* GetForProfile(Profile* profile); |
+ static MenuManager* GetForProfile(Profile* profile); |
- static ExtensionToolbarModelFactory* GetInstance(); |
+ static MenuManagerFactory* GetInstance(); |
private: |
- friend struct DefaultSingletonTraits<ExtensionToolbarModelFactory>; |
+ friend struct DefaultSingletonTraits<MenuManagerFactory>; |
- ExtensionToolbarModelFactory(); |
- virtual ~ExtensionToolbarModelFactory(); |
+ MenuManagerFactory(); |
+ virtual ~MenuManagerFactory(); |
virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
@@ -32,4 +34,6 @@ class ExtensionToolbarModelFactory : public BrowserContextKeyedServiceFactory { |
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |
}; |
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_FACTORY_H_ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_FACTORY_H_ |