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

Unified Diff: chrome/common/chrome_content_client_ios.mm

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.cc ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client_ios.mm
diff --git a/chrome/common/chrome_content_client_ios.mm b/chrome/common/chrome_content_client_ios.mm
index 0bd3b7e012033ba28b450822c6d82d2cf8362cb8..3eefa8954cd631dd8d630982102b321c24989024 100644
--- a/chrome/common/chrome_content_client_ios.mm
+++ b/chrome/common/chrome_content_client_ios.mm
@@ -55,6 +55,13 @@ std::string ChromeContentClient::GetProduct() const {
return product;
}
+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();
return webkit_glue::BuildUserAgentFromProduct(product);
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698