source: projects/specs/trunk/c/chromium/chromium-vendor-vine.patch.in @ 4241

Revision 4241, 423 bytes checked in by daisuke, 13 years ago (diff)

chromium:

  • fix user-agent string (chromium-vendor-vine.patch.in)
    • move vendor string (Vine/12.0.742.91-1vl6) to the end.
Line 
1--- src/webkit/glue/user_agent.cc
2+++ src/webkit/glue/user_agent.cc
3@@ -106,6 +106,7 @@ void BuildUserAgent(bool mimic_chrome1,
4   base::StringAppendF(
5       result,
6       "Mozilla/5.0 (%s%s) AppleWebKit/%d.%d"
7-      " (KHTML, like Gecko) %s Safari/%d.%d",
8+      " (KHTML, like Gecko) %s Safari/%d.%d"
9+      " Vine/RPM_VERSION",
10       mimic_windows ? "Windows " : kUserAgentPlatform,
11       BuildOSCpuInfo().c_str(),
Note: See TracBrowser for help on using the repository browser.