Index: chrome/browser/win/jumplist_factory.h |
diff --git a/chrome/browser/win/jumplist_factory.h b/chrome/browser/win/jumplist_factory.h |
index 7155c807868b9bc3bf4ec0b6ac14dbb6ff89f7e0..5f8c1c80180dc5fdf67eebf8ddd68570879ac593 100644 |
--- a/chrome/browser/win/jumplist_factory.h |
+++ b/chrome/browser/win/jumplist_factory.h |
@@ -6,14 +6,12 @@ |
#define CHROME_BROWSER_WIN_JUMPLIST_FACTORY_H_ |
#include "base/memory/singleton.h" |
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
+#include "chrome/browser/win/jumplist.h" |
+#include "components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h" |
-class Profile; |
-class JumpList; |
- |
-class JumpListFactory : public BrowserContextKeyedServiceFactory { |
+class JumpListFactory : public RefcountedBrowserContextKeyedServiceFactory { |
public: |
- static JumpList* GetForProfile(Profile* profile); |
+ static scoped_refptr<JumpList> GetForProfile(Profile* profile); |
static JumpListFactory* GetInstance(); |
@@ -23,7 +21,7 @@ |
~JumpListFactory() override; |
// BrowserContextKeyedServiceFactory: |
- KeyedService* BuildServiceInstanceFor( |
+ scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( |
content::BrowserContext* context) const override; |
}; |