| 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 62437c99096287262a34c2022b1411af6ca86f7f..7427485918e3759920e1094caf798b83b7d4de44 100644
|
| --- a/components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| +++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.h
|
| @@ -223,6 +223,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) {
|
|
|