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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 16599010: Surface Chrome SVN Revision in dev tools 'version' command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « chrome/common/chrome_content_client.h ('k') | chrome/common/chrome_content_client_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 535250b34a2401664519e7703df9de0d43c9d0cd..9068e0c7e7a38dd31083b22cc5ccec68801f88f2 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -428,6 +428,13 @@ std::string ChromeContentClient::GetProduct() const {
return GetProductImpl();
}
+std::string ChromeContentClient::GetProductSCMRevision() const {
+ chrome::VersionInfo version_info;
+ std::string revision("@");
+ revision += version_info.is_valid() ? version_info.LastChange() : "0";
+ return revision;
+}
+
std::string ChromeContentClient::GetUserAgent() const {
std::string product = GetProduct();
#if defined(OS_ANDROID)
« no previous file with comments | « chrome/common/chrome_content_client.h ('k') | chrome/common/chrome_content_client_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698