Index: chrome/browser/search_engines/template_url_service_factory.h |
diff --git a/chrome/browser/search_engines/template_url_service_factory.h b/chrome/browser/search_engines/template_url_service_factory.h |
index 9939278da2b2821ce8c5477310b2b961bd400e4e..db900b0f118a82f494dc88b0d4089a33a51354b5 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.h |
+++ b/chrome/browser/search_engines/template_url_service_factory.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_FACTORY_H_ |
#define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_FACTORY_H_ |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/singleton.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
@@ -19,7 +20,8 @@ class TemplateURLServiceFactory : public BrowserContextKeyedServiceFactory { |
static TemplateURLServiceFactory* GetInstance(); |
- static KeyedService* BuildInstanceFor(content::BrowserContext* profile); |
+ static scoped_ptr<KeyedService> BuildInstanceFor( |
+ content::BrowserContext* profile); |
private: |
friend struct DefaultSingletonTraits<TemplateURLServiceFactory>; |