Commit 2fcf7c54 authored by alexst@chromium.org's avatar alexst@chromium.org

Since ozone builds removed X11, they get identified as "unknown" in the user...

Since ozone builds removed X11, they get identified as "unknown" in the user agent string and as a result calendar and potentially other things don't work.

This CL brings identification back in line with other linux builds.

BUG=394335

Review URL: https://codereview.chromium.org/394233003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285724 0039d316-1c4b-4281-b951-d872f2087c98
parent ce709dde
...@@ -162,7 +162,7 @@ std::string BuildUserAgentFromProduct(const std::string& product) { ...@@ -162,7 +162,7 @@ std::string BuildUserAgentFromProduct(const std::string& product) {
""; "";
#elif defined(OS_MACOSX) #elif defined(OS_MACOSX)
"Macintosh; "; "Macintosh; ";
#elif defined(USE_X11) #elif defined(USE_X11) || defined(USE_OZONE)
"X11; "; // strange, but that's what Firefox uses "X11; "; // strange, but that's what Firefox uses
#elif defined(OS_ANDROID) #elif defined(OS_ANDROID)
"Linux; "; "Linux; ";
......
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