Index: webkit/glue/user_agent.cc |
diff --git a/webkit/glue/user_agent.cc b/webkit/glue/user_agent.cc |
index 4867c27d1983fbe49b2d5028b0ae521ce62e21ae..afd1c83675218ae7652b43bd8241f324ab8c8c6c 100644 |
--- a/webkit/glue/user_agent.cc |
+++ b/webkit/glue/user_agent.cc |
@@ -22,8 +22,14 @@ namespace webkit_glue { |
std::string GetProductVersion(); |
std::string GetWebKitVersion() { |
- return base::StringPrintf("%d.%d", WEBKIT_VERSION_MAJOR, |
- WEBKIT_VERSION_MINOR); |
+ return base::StringPrintf("%d.%d (%s)", |
+ WEBKIT_VERSION_MAJOR, |
+ WEBKIT_VERSION_MINOR, |
+ WEBKIT_SVN_REVISION); |
+} |
+ |
+std::string GetWebKitRevision() { |
+ return WEBKIT_SVN_REVISION; |
} |
std::string BuildOSCpuInfo() { |