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

Unified Diff: webkit/glue/user_agent.cc

Issue 6354014: webkit: expose webkit branch and revision number in about pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for commit Created 9 years, 11 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 | « webkit/glue/user_agent.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « webkit/glue/user_agent.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698