Index: ios/chrome/browser/suggestions/suggestions_service_factory.h |
diff --git a/ios/chrome/browser/suggestions/suggestions_service_factory.h b/ios/chrome/browser/suggestions/suggestions_service_factory.h |
index 0cb8f821237b047c36452211f53d5a966f19d6a9..d9d9c8cacc5c7b1e7f0b238c83510d549d561228 100644 |
--- a/ios/chrome/browser/suggestions/suggestions_service_factory.h |
+++ b/ios/chrome/browser/suggestions/suggestions_service_factory.h |
@@ -5,8 +5,9 @@ |
#ifndef IOS_CHROME_BROWSER_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_ |
#define IOS_CHROME_BROWSER_SUGGESTIONS_SUGGESTIONS_SERVICE_FACTORY_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/keyed_service/ios/browser_state_keyed_service_factory.h" |
namespace base { |
@@ -39,7 +40,7 @@ class SuggestionsServiceFactory : public BrowserStateKeyedServiceFactory { |
~SuggestionsServiceFactory() override; |
// BrowserStateKeyedServiceFactory implementation. |
- scoped_ptr<KeyedService> BuildServiceInstanceFor( |
+ std::unique_ptr<KeyedService> BuildServiceInstanceFor( |
web::BrowserState* context) const override; |
void RegisterBrowserStatePrefs( |
user_prefs::PrefRegistrySyncable* registry) override; |