diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:51:32 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 21:51:32 +0000 |
commit | 18ad677133507343592fab4682510e8d863911c9 (patch) | |
tree | bdf8e575acfc97f651f555c04238018f8cc5bbb7 /webkit/tools/test_shell | |
parent | ce9ca28e14bc8e02678c02df977bae0a85fba040 (diff) | |
download | chromium_src-18ad677133507343592fab4682510e8d863911c9.zip chromium_src-18ad677133507343592fab4682510e8d863911c9.tar.gz chromium_src-18ad677133507343592fab4682510e8d863911c9.tar.bz2 |
move webkit_glue::GetWebKitLocale to content.
Currently chrome code calls webkit_glue::GetWebKitLocale, which is just
a static callback into content. This exposes that callback out of
content directly to fix the dependency inversion.
It doesn't appear that anything in webkit_glue actually needs this function, so I'm a bit puzzled as to why it's here (except perhaps for pre-content legacy reasons).
R=jam@chromium.org
BUG=90442
TEST=none
Review URL: http://codereview.chromium.org/7917005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 38e83ca..6395dd3 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -635,10 +635,6 @@ bool IsProtocolSupportedForMedia(const GURL& url) { return false; } -std::string GetWebKitLocale() { - return "en-US"; -} - std::string BuildUserAgent(bool mimic_windows) { return webkit_glue::BuildUserAgentHelper(mimic_windows, "Chrome/0.0.0.0"); } |