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

Unified Diff: webkit/glue/user_agent.h

Issue 6354014: webkit: expose webkit branch and revision number in about pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: webkit/glue/user_agent.h
diff --git a/webkit/glue/user_agent.h b/webkit/glue/user_agent.h
index 3d1f7880d57775320c8c380b935c076e4c2e8348..d63f758bd50d93f6fd4dbf8ed12123951847daea 100644
--- a/webkit/glue/user_agent.h
+++ b/webkit/glue/user_agent.h
@@ -22,6 +22,12 @@ std::string BuildOSCpuInfo();
// Returns the WebKit version (major.minor).
std::string GetWebKitVersion();
+// Get the WebKit revision (e.g. http://path/to/branch@revision).
+// (We don't expose this in the user-agent string, but this file is a
+// natural location for this functionality).
+std::string GetWebKitRevision();
+
+
} // namespace webkit_glue
#endif // WEBKIT_GLUE_USER_AGENT_H_

Powered by Google App Engine
This is Rietveld 408576698