Chromium Code Reviews| Index: chrome/browser/extensions/extension_system.h |
| diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h |
| index 3ed50028e19f6d21577371d6ed8678d61097ec06..bc1f52a01ec4263eebe1ad29f02a2552beaf8d16 100644 |
| --- a/chrome/browser/extensions/extension_system.h |
| +++ b/chrome/browser/extensions/extension_system.h |
| @@ -37,6 +37,10 @@ class ExtensionSystem : public ProfileKeyedService { |
| ExtensionSystem(); |
| virtual ~ExtensionSystem(); |
| + // Returns the instance for the given profile, or NULL if none. This is |
| + // a convenience wrapper around ExtensionSystemFactory::GetForProfile. |
| + static ExtensionSystem* Get(Profile* profile); |
|
Yoyo Zhou
2012/04/04 22:54:21
I think GetForProfile is still preferable.
Matt Perry
2012/04/04 22:56:44
Blech. Unnecessarily verbose IMO. No one is going
|
| + |
| // ProfileKeyedService implementation. |
| virtual void Shutdown() OVERRIDE {} |