Index: components/ntp_snippets/ntp_snippets_fetcher.h |
diff --git a/components/ntp_snippets/ntp_snippets_fetcher.h b/components/ntp_snippets/ntp_snippets_fetcher.h |
index f0800cd5699b5550f56d5533cf03c9fbe18fc545..234fafda0615496051b504c66686bdf24c0ebc93 100644 |
--- a/components/ntp_snippets/ntp_snippets_fetcher.h |
+++ b/components/ntp_snippets/ntp_snippets_fetcher.h |
@@ -84,7 +84,7 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer, |
PrefService* pref_service, |
CategoryFactory* category_factory, |
const ParseJSONCallback& parse_json_callback, |
- bool is_stable_channel); |
+ const std::string& api_key); |
~NTPSnippetsFetcher() override; |
// Set a callback that is called when a new set of snippets are downloaded, |
@@ -232,7 +232,7 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer, |
SnippetsAvailableCallback snippets_available_callback_; |
// Flag for picking the right (stable/non-stable) API key for Chrome Reader. |
Marc Treib
2016/08/31 09:26:16
Please update the comment
sfiera
2016/08/31 10:09:16
Done.
|
- bool is_stable_channel_; |
+ const std::string api_key_; |
// The variant of the fetching to use, loaded from variation parameters. |
Personalization personalization_; |