Index: webkit/common/user_agent/user_agent_util.h |
diff --git a/webkit/common/user_agent/user_agent_util.h b/webkit/common/user_agent/user_agent_util.h |
index 3fbdf5488792d91f8bc8c7b331c598b3db7b8443..e23b809a5050fe1e5fae2a6b1be1f4c440f61f1e 100644 |
--- a/webkit/common/user_agent/user_agent_util.h |
+++ b/webkit/common/user_agent/user_agent_util.h |
@@ -22,6 +22,8 @@ WEBKIT_USER_AGENT_EXPORT std::string GetWebKitVersion(); |
WEBKIT_USER_AGENT_EXPORT int GetWebKitMajorVersion(); |
WEBKIT_USER_AGENT_EXPORT int GetWebKitMinorVersion(); |
+WEBKIT_USER_AGENT_EXPORT std::string GetWebKitRevision(); |
jamesr
2013/06/20 18:49:47
what does this number mean on release branches?
mnaganov (inactive)
2013/06/20 20:11:09
It's always the number of the svn revision. Every
bulach
2013/06/21 09:02:17
isn't it safer to just rely on GetWebKitVersion()
mnaganov (inactive)
2013/06/21 09:21:45
GetWebKitVersion doesn't provide any more useful i
|
+ |
// Helper function to generate a full user agent string from a short |
// product name. |
WEBKIT_USER_AGENT_EXPORT std::string BuildUserAgentFromProduct( |