| Index: components/ntp_snippets/ntp_snippets_fetcher.cc
|
| diff --git a/components/ntp_snippets/ntp_snippets_fetcher.cc b/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| index b7786e57eb9d7932041cb72a9e6b14188e915729..4a5308df0876214954d53a5ddfea795e9d73d947 100644
|
| --- a/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| +++ b/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| @@ -173,12 +173,12 @@ NTPSnippetsFetcher::NTPSnippetsFetcher(
|
|
|
| std::string host_restriction = variations::GetVariationParamValue(
|
| ntp_snippets::kStudyName, kHostRestrictionName);
|
| - if (host_restriction == kHostRestrictionOffString) {
|
| - use_host_restriction_ = false;
|
| - } else {
|
| + if (host_restriction == kHostRestrictionOnString) {
|
| use_host_restriction_ = true;
|
| + } else {
|
| + use_host_restriction_ = false;
|
| LOG_IF(WARNING, !host_restriction.empty() &&
|
| - host_restriction != kHostRestrictionOnString)
|
| + host_restriction != kHostRestrictionOffString)
|
| << "Unknown value for " << kHostRestrictionName << ": "
|
| << host_restriction;
|
| }
|
|
|