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

Unified Diff: content/browser/devtools/devtools_http_handler_impl.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_ios.mm ('k') | content/public/common/content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_http_handler_impl.cc
diff --git a/content/browser/devtools/devtools_http_handler_impl.cc b/content/browser/devtools/devtools_http_handler_impl.cc
index d318ebbaad577f36930bd7e468e25625bd362279..3c079443590c2bf22f7ed3e7f9e01a6c3eae916f 100644
--- a/content/browser/devtools/devtools_http_handler_impl.cc
+++ b/content/browser/devtools/devtools_http_handler_impl.cc
@@ -492,6 +492,8 @@ void DevToolsHttpHandlerImpl::OnJsonRequestUI(
webkit_glue::GetWebKitVersion());
version.SetString("Browser",
content::GetContentClient()->GetProduct());
+ version.SetString("Browser-Revision",
+ content::GetContentClient()->GetProductSCMRevision());
version.SetString("User-Agent",
webkit_glue::GetUserAgent(GURL(kAboutBlankURL)));
SendJson(connection_id, net::HTTP_OK, &version, std::string());
« no previous file with comments | « chrome/common/chrome_content_client_ios.mm ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698