Commit c309c48c authored by Yulun Wu's avatar Yulun Wu Committed by Commit Bot

Update language settings for CrOS Release Notes.

g_browser_process->GetApplicationLocale() should be used over
l10n_util::GetApplicationLocale(std::string()).

Bug: 1036000
Change-Id: I5ff962526868ddbcbd3f2ac8b095ac99247c396e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1978009
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726976}
parent d0ff76f0
......@@ -21,6 +21,7 @@
#include "build/build_config.h"
#include "chrome/browser/apps/launch_service/launch_service.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/extensions/default_web_app_ids.h"
#include "chrome/browser/download/download_shelf.h"
#include "chrome/browser/extensions/launch_util.h"
......@@ -110,7 +111,7 @@ const std::string BuildQueryString(Profile* profile) {
std::string region;
chromeos::system::StatisticsProvider::GetInstance()->GetMachineStatistic(
"region", &region);
const std::string language = l10n_util::GetApplicationLocale(std::string());
const std::string language = g_browser_process->GetApplicationLocale();
const std::string version = version_info::GetVersionNumber();
const std::string milestone = version_info::GetMajorVersionNumber();
std::string channel_name =
......
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