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

Unified Diff: content/common/user_agent.cc

Issue 394233003: Ozone builds get identified as unknown in user agent string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/user_agent.cc
diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
index 2255badd0b4c18f22877dbf20da7ab32e98c961e..1176c488d3d89ab814b0f79d1f1930b16449be17 100644
--- a/content/common/user_agent.cc
+++ b/content/common/user_agent.cc
@@ -162,7 +162,7 @@ std::string BuildUserAgentFromProduct(const std::string& product) {
"";
#elif defined(OS_MACOSX)
"Macintosh; ";
-#elif defined(USE_X11)
+#elif defined(USE_X11) || defined(USE_OZONE)
"X11; "; // strange, but that's what Firefox uses
#elif defined(OS_ANDROID)
"Linux; ";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698