Commit 00ddc649 authored by jam@chromium.org's avatar jam@chromium.org

Use Chrome's user agent string for content_shell, since some sites (i.e....

Use Chrome's user agent string for content_shell, since some sites (i.e. Gmail) give a degraded experience otherwise.

BUG=90445
Review URL: http://codereview.chromium.org/7980044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102172 0039d316-1c4b-4281-b951-d872f2087c98
parent efed16c4
......@@ -5,6 +5,7 @@
#include "content/shell/shell_content_client.h"
#include "base/string_piece.h"
#include "webkit/glue/user_agent.h"
namespace content {
......@@ -30,7 +31,7 @@ bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
}
std::string ShellContentClient::GetUserAgent(bool mimic_windows) const {
return std::string();
return webkit_glue::BuildUserAgentHelper(mimic_windows, "Chrome/15.16.17.18");
}
string16 ShellContentClient::GetLocalizedString(int message_id) const {
......
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