| Index: components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher.h b/components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| index 772aa0599b2b9389d58102bb989494c03330847a..92a23431816d34b462a58ce88849e059101c3318 100644
|
| --- a/components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| +++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| @@ -224,6 +224,10 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer,
|
| const scoped_refptr<net::URLRequestContextGetter>& context_getter);
|
| RequestBuilder& SetUserClassifier(const UserClassifier& user_classifier);
|
|
|
| + // These preview methods allow to inspect the Request without exposing it
|
| + // publicly.
|
| + // TODO(fhorschig): Remove these when moving the RequestBuilder to
|
| + // snippets::internal and trigger the request to intercept the request.
|
| std::string PreviewRequestBodyForTesting() { return BuildBody(); }
|
| std::string PreviewRequestHeadersForTesting() { return BuildHeaders(); }
|
| RequestBuilder& SetUserClassForTesting(const std::string& user_class) {
|
|
|