diff options
Diffstat (limited to 'chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h')
-rw-r--r-- | chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h b/chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h index bb1041b9464..3eccc9da95b 100644 --- a/chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h +++ b/chromium/components/ntp_snippets/contextual/contextual_suggestions_fetcher_impl.h @@ -22,8 +22,9 @@ class SharedURLLoaderFactory; using contextual_suggestions::Cluster; using contextual_suggestions::ContextualSuggestionsFetch; +using contextual_suggestions::ContextualSuggestionsResult; -namespace ntp_snippets { +namespace contextual_suggestions { class ContextualSuggestionsFetcherImpl : public ContextualSuggestionsFetcher { public: @@ -41,8 +42,7 @@ class ContextualSuggestionsFetcherImpl : public ContextualSuggestionsFetcher { private: void FetchFinished(ContextualSuggestionsFetch* fetch, FetchClustersCallback callback, - std::string peek_text, - std::vector<Cluster> clusters); + ContextualSuggestionsResult result); const scoped_refptr<network::SharedURLLoaderFactory> loader_factory_; /// BCP47 formatted language code to use. @@ -56,6 +56,6 @@ class ContextualSuggestionsFetcherImpl : public ContextualSuggestionsFetcher { DISALLOW_COPY_AND_ASSIGN(ContextualSuggestionsFetcherImpl); }; -} // namespace ntp_snippets +} // namespace contextual_suggestions #endif // COMPONENTS_NTP_SNIPPETS_CONTEXTUAL_CONTEXTUAL_SUGGESTIONS_FETCHER_IMPL_H_ |