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

Unified Diff: content/shell/browser/shell_devtools_manager_delegate.cc

Issue 2472093003: [DevTools]: Expose V8 version in /json/version (Closed)
Patch Set: Android browser added Created 4 years, 1 month 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 | « content/public/browser/devtools_agent_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_devtools_manager_delegate.cc
diff --git a/content/shell/browser/shell_devtools_manager_delegate.cc b/content/shell/browser/shell_devtools_manager_delegate.cc
index 32b65bace89e5843f7730f939bfcf51c0fb8a7dc..26d3c8fa889cddd283aa5ddfba408e9262cb18ea 100644
--- a/content/shell/browser/shell_devtools_manager_delegate.cc
+++ b/content/shell/browser/shell_devtools_manager_delegate.cc
@@ -36,6 +36,7 @@
#include "net/log/net_log_source.h"
#include "net/socket/tcp_server_socket.h"
#include "ui/base/resource/resource_bundle.h"
+#include "v8/include/v8.h"
#if defined(OS_ANDROID)
#include "content/public/browser/android/devtools_auth.h"
@@ -168,7 +169,8 @@ void ShellDevToolsManagerDelegate::StartHttpHandler(
browser_context->GetPath(),
base::FilePath(),
std::string(),
- GetShellUserAgent());
+ GetShellUserAgent(),
+ v8::V8::GetVersion());
}
// static
« no previous file with comments | « content/public/browser/devtools_agent_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698