diff options
Diffstat (limited to 'webkit/glue/user_agent.cc')
-rw-r--r-- | webkit/glue/user_agent.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/webkit/glue/user_agent.cc b/webkit/glue/user_agent.cc index 4867c27..afd1c83 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() { |