Commit df20b77a authored by droger's avatar droger Committed by Commit bot

Add missing locale parameter to promo service.

The locale parameter (hl=) has been broken by the componentization of
web_resource, and is now always empty.
This CL restores the right behavior.

BUG=454485

Review URL: https://codereview.chromium.org/900633002

Cr-Commit-Position: refs/heads/master@{#314334}
parent 563a7d86
......@@ -107,9 +107,9 @@ void WebResourceService::StartFetch() {
GURL web_resource_server =
application_locale_.empty()
? google_util::AppendGoogleLocaleParam(web_resource_server_,
application_locale_)
: web_resource_server_;
? web_resource_server_
: google_util::AppendGoogleLocaleParam(web_resource_server_,
application_locale_);
DVLOG(1) << "WebResourceService StartFetch " << web_resource_server;
url_fetcher_.reset(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment