| 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 d4e3b3720bdab6eae6719aa747bccb35f4c5b73a..6af62afb921bc27926cde9c5b658380a8d7782e7 100644
|
| --- a/components/ntp_snippets/ntp_snippets_fetcher.h
|
| +++ b/components/ntp_snippets/ntp_snippets_fetcher.h
|
| @@ -116,10 +116,18 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer,
|
| }
|
|
|
| private:
|
| + FRIEND_TEST_ALL_PREFIXES(NTPSnippetsFetcherTest, BuildRequestAuthenticated);
|
| + FRIEND_TEST_ALL_PREFIXES(NTPSnippetsFetcherTest, BuildRequestUnauthenticated);
|
| +
|
| + static std::string BuildRequest(const std::string& obfuscated_gaia_id,
|
| + bool only_return_personalized_results,
|
| + const std::string& user_segment,
|
| + const std::set<std::string>& host_restricts,
|
| + int count_to_fetch);
|
| +
|
| void FetchSnippetsImpl(const GURL& url,
|
| const std::string& auth_header,
|
| const std::string& request);
|
| - std::string GetHostRestricts() const;
|
| void FetchSnippetsNonAuthenticated();
|
| void FetchSnippetsAuthenticated(const std::string& account_id,
|
| const std::string& oauth_access_token);
|
|
|