diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 17:44:46 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 17:44:46 +0000 |
commit | 9614d59445acc7d2d0f2159f7cf0d1a538a012dd (patch) | |
tree | 49946b012b640146afb35cc5b9c2448260b56491 /chrome/browser/privacy_blacklist | |
parent | 4233940a69ea3ab796b34f419e62d4b31959708e (diff) | |
download | chromium_src-9614d59445acc7d2d0f2159f7cf0d1a538a012dd.zip chromium_src-9614d59445acc7d2d0f2159f7cf0d1a538a012dd.tar.gz chromium_src-9614d59445acc7d2d0f2159f7cf0d1a538a012dd.tar.bz2 |
Added an observer for 'pref::kDefaultCharset' change I forgot to add in r15113 (http://src.chromium.org/viewvc/chrome?view=rev&revision=15113) .
Besides, set referrer_charset_ (used in guessing the C-D charset in GetFileNameFromCD) to pref::kDefaultCharset without any q values appended.
TEST=1. Set the default charset in Options | Advanced | Fonts & Languages to ISO-8859-1.
2. Type http://i18nl10n.com/moztest/random21.yyy in the omnibox and the filename in the download bar should start with "횉횗짹횤21"
3. Change the default charset to Korean
4. Try #2 again and the filename in the download bar should start with '?쒓?21'.
BUG=1148 (http://crbug.com/1148 )
Review URL: http://codereview.chromium.org/149705
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/privacy_blacklist')
0 files changed, 0 insertions, 0 deletions