Index: chrome/browser/ntp_snippets/content_suggestions_service_factory.h |
diff --git a/chrome/browser/ntp_snippets/content_suggestions_service_factory.h b/chrome/browser/ntp_snippets/content_suggestions_service_factory.h |
index fdd7d763684a844f9097f3c6506b0eb1ddfcbe80..d0d50a05ceb265c398124e0e8bcd04ad3afa00dd 100644 |
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.h |
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.h |
@@ -27,6 +27,8 @@ class ContentSuggestionsServiceFactory |
static ContentSuggestionsServiceFactory* GetInstance(); |
static ntp_snippets::ContentSuggestionsService* GetForProfile( |
Profile* profile); |
+ static ntp_snippets::ContentSuggestionsService* GetForProfileIfExists( |
+ Profile* profile); |
private: |
friend struct base::DefaultSingletonTraits<ContentSuggestionsServiceFactory>; |