Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 2809058: Add application locale policy. (Closed)

Created:
10 years, 5 months ago by markusheintz_
Modified:
9 years, 6 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, nkostylev+cc_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org, Mattias Nissler (ping if slow), gfeher.google, glotov, brettw-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Adds the application locale police that allows to enforce the kApplicationLocale preference. bug=44504 test=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52936

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Patch Set 4 : " #

Total comments: 30

Patch Set 5 : " #

Patch Set 6 : " #

Patch Set 7 : " #

Patch Set 8 : " #

Total comments: 1

Patch Set 9 : " #

Patch Set 10 : " #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -316 lines) Patch
M app/l10n_util.cc View 1 2 3 4 5 3 chunks +5 lines, -21 lines 0 comments Download
M chrome/app/chrome_dll_main.cc View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M chrome/app/policy/windows/adm/en-US/chrome.adm View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/app/policy/windows/admx/chrome.admx View 1 2 3 4 5 6 7 8 9 1 chunk +157 lines, -150 lines 0 comments Download
M chrome/app/policy/windows/admx/en-US/chrome.adml View 1 2 3 4 5 6 7 8 9 1 chunk +137 lines, -130 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/browser_main_mac.mm View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/candidate_window.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/language_switch_menu.cc View 1 2 3 4 5 1 chunk +20 lines, -13 lines 0 comments Download
M chrome/browser/configuration_policy_pref_store.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/configuration_policy_provider.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/configuration_policy_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/pref_service.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/pref_service.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
markusheintz_
Please review asap! THANKS.
10 years, 5 months ago (2010-07-19 13:03:43 UTC) #1
Nikita (slow)
http://codereview.chromium.org/2809058/diff/5001/6007 File chrome/browser/chromeos/login/language_switch_menu.cc (right): http://codereview.chromium.org/2809058/diff/5001/6007#newcode91 chrome/browser/chromeos/login/language_switch_menu.cc:91: // TODO(markusheintz): If the preference is managed and can ...
10 years, 5 months ago (2010-07-19 13:20:50 UTC) #2
markusheintz_
http://codereview.chromium.org/2809058/diff/5001/6007 File chrome/browser/chromeos/login/language_switch_menu.cc (right): http://codereview.chromium.org/2809058/diff/5001/6007#newcode91 chrome/browser/chromeos/login/language_switch_menu.cc:91: // TODO(markusheintz): If the preference is managed and can ...
10 years, 5 months ago (2010-07-19 13:22:57 UTC) #3
Pam (message me for reviews)
http://codereview.chromium.org/2809058/diff/5001/6001 File app/l10n_util.cc (right): http://codereview.chromium.org/2809058/diff/5001/6001#newcode384 app/l10n_util.cc:384: // First, try user prefs. "User" prefs isn't entirely ...
10 years, 5 months ago (2010-07-19 14:07:49 UTC) #4
markusheintz_
http://codereview.chromium.org/2809058/diff/5001/6001 File app/l10n_util.cc (right): http://codereview.chromium.org/2809058/diff/5001/6001#newcode384 app/l10n_util.cc:384: // First, try user prefs. On 2010/07/19 14:07:49, Pam ...
10 years, 5 months ago (2010-07-19 14:59:46 UTC) #5
markusheintz_
http://codereview.chromium.org/2809058/diff/5001/6009 File chrome/browser/configuration_policy_provider.cc (right): http://codereview.chromium.org/2809058/diff/5001/6009#newcode48 chrome/browser/configuration_policy_provider.cc:48: Value::TYPE_STRING, "ApplicationLocale_Value" }, On 2010/07/19 14:59:47, markusheintz1 wrote: > ...
10 years, 5 months ago (2010-07-19 15:15:28 UTC) #6
danno
Policy stuff LGTM.
10 years, 5 months ago (2010-07-19 15:35:46 UTC) #7
Pam (message me for reviews)
In the log message, please change police -> policy. Danno, do you know what's going ...
10 years, 5 months ago (2010-07-19 15:58:37 UTC) #8
markusheintz_
Updated ADM template, and ADMX/ADML files.
10 years, 5 months ago (2010-07-19 16:04:03 UTC) #9
markusheintz_
http://codereview.chromium.org/2809058/diff/5001/6004 File chrome/app/policy/windows/admx/chrome.admx (right): http://codereview.chromium.org/2809058/diff/5001/6004#newcode7 chrome/app/policy/windows/admx/chrome.admx:7: <supersededAdm fileName="D:\src\chromium\src\chrome\app\policy\windows\adm\en-US\chrome.adm" /> On 2010/07/19 15:58:37, Pam wrote: > ...
10 years, 5 months ago (2010-07-19 16:06:42 UTC) #10
danno
http://codereview.chromium.org/2809058/diff/5001/6004 File chrome/app/policy/windows/admx/chrome.admx (right): http://codereview.chromium.org/2809058/diff/5001/6004#newcode7 chrome/app/policy/windows/admx/chrome.admx:7: <supersededAdm fileName="D:\src\chromium\src\chrome\app\policy\windows\adm\en-US\chrome.adm" /> On 2010/07/19 15:58:37, Pam wrote: > ...
10 years, 5 months ago (2010-07-19 16:10:01 UTC) #11
Pam (message me for reviews)
10 years, 5 months ago (2010-07-19 16:17:08 UTC) #12
LGTM with below nit fixed.

- Pam

http://codereview.chromium.org/2809058/diff/32002/33004
File chrome/app/policy/windows/adm/en-US/chrome.adm (right):

http://codereview.chromium.org/2809058/diff/32002/33004#newcode172
chrome/app/policy/windows/adm/en-US/chrome.adm:172: the system locale or the
fallback locale en-US."
These need spaces at the ends, so we don't get
configured,Chrome
supportedChrome
configured,the

Powered by Google App Engine
This is Rietveld 408576698