Chromium Code Reviews| Index: components/ntp_snippets/ntp_snippets_service.h |
| diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h |
| index e5aba948ca57a5f6701015caefbccbf0ef1916fa..fefb50127d4d421dfedb588b417f26ceb64aa974 100644 |
| --- a/components/ntp_snippets/ntp_snippets_service.h |
| +++ b/components/ntp_snippets/ntp_snippets_service.h |
| @@ -85,14 +85,8 @@ class NTPSnippetsService : public KeyedService { |
| return discarded_snippets_; |
| } |
| - // Returns the last status message from the snippets fetcher. |
| - const std::string& last_status() const { |
| - return snippets_fetcher_->last_status(); |
| - } |
| - |
| - // Returns the last json from the snippets fetcher. |
| - const std::string& last_json() const { |
| - return snippets_fetcher_->last_json(); |
| + NTPSnippetsFetcher* snippets_fetcher() const { |
|
Bernhard Bauer
2016/05/19 08:51:19
You could return a const pointer here so it can be
jkrcal
2016/05/19 16:36:24
Done.
|
| + return snippets_fetcher_.get(); |
| } |
| // (Re)schedules the periodic fetching of snippets. This is necessary because |