Commit c3b22dcd authored by zmo's avatar zmo Committed by Commit bot

Adding more logs for the browser.GetSystemInfo() random crash.

This is temporary - will be removed once we pin down the crash.

BUG=424024
TEST=
TBR=kbr@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/699043002

Cr-Commit-Position: refs/heads/master@{#302512}
parent d6041715
...@@ -1065,6 +1065,7 @@ void ChromeBrowserMainParts::PreProfileInit() { ...@@ -1065,6 +1065,7 @@ void ChromeBrowserMainParts::PreProfileInit() {
void ChromeBrowserMainParts::PostProfileInit() { void ChromeBrowserMainParts::PostProfileInit() {
TRACE_EVENT0("startup", "ChromeBrowserMainParts::PostProfileInit"); TRACE_EVENT0("startup", "ChromeBrowserMainParts::PostProfileInit");
VLOG(2) << "ChromeBrowserMainParts::PostProfileInit";
LaunchDevToolsHandlerIfNeeded(parsed_command_line()); LaunchDevToolsHandlerIfNeeded(parsed_command_line());
for (size_t i = 0; i < chrome_extra_parts_.size(); ++i) for (size_t i = 0; i < chrome_extra_parts_.size(); ++i)
chrome_extra_parts_[i]->PostProfileInit(); chrome_extra_parts_[i]->PostProfileInit();
......
...@@ -36,8 +36,10 @@ RemoteDebuggingServer::RemoteDebuggingServer( ...@@ -36,8 +36,10 @@ RemoteDebuggingServer::RemoteDebuggingServer(
chrome::HostDesktopType host_desktop_type, chrome::HostDesktopType host_desktop_type,
const std::string& ip, const std::string& ip,
int port) { int port) {
VLOG(2) << "RemoteDebuggingServer::RemoteDebuggingServer : BEGIN";
base::FilePath output_dir; base::FilePath output_dir;
if (!port) { if (!port) {
VLOG(2) << "RemoteDebuggingServer::RemoteDebuggingServer : !port";
// The client requested an ephemeral port. Must write the selected // The client requested an ephemeral port. Must write the selected
// port to a well-known location in the profile directory to // port to a well-known location in the profile directory to
// bootstrap the connection process. // bootstrap the connection process.
...@@ -45,13 +47,16 @@ RemoteDebuggingServer::RemoteDebuggingServer( ...@@ -45,13 +47,16 @@ RemoteDebuggingServer::RemoteDebuggingServer(
DCHECK(result); DCHECK(result);
} }
VLOG(2) << "RemoteDebuggingServer::RemoteDebuggingServer : factory";
scoped_ptr<content::DevToolsHttpHandler::ServerSocketFactory> factory( scoped_ptr<content::DevToolsHttpHandler::ServerSocketFactory> factory(
new TCPServerSocketFactory(ip, port, 1)); new TCPServerSocketFactory(ip, port, 1));
VLOG(2) << "RemoteDebuggingServer::RemoteDebuggingServer : handler";
devtools_http_handler_ = content::DevToolsHttpHandler::Start( devtools_http_handler_ = content::DevToolsHttpHandler::Start(
factory.Pass(), factory.Pass(),
"", "",
new BrowserListTabContentsProvider(host_desktop_type), new BrowserListTabContentsProvider(host_desktop_type),
output_dir); output_dir);
VLOG(2) << "RemoteDebuggingServer::RemoteDebuggingServer : END";
} }
RemoteDebuggingServer::~RemoteDebuggingServer() { RemoteDebuggingServer::~RemoteDebuggingServer() {
......
...@@ -250,6 +250,7 @@ DevToolsHttpHandler* DevToolsHttpHandler::Start( ...@@ -250,6 +250,7 @@ DevToolsHttpHandler* DevToolsHttpHandler::Start(
const std::string& frontend_url, const std::string& frontend_url,
DevToolsHttpHandlerDelegate* delegate, DevToolsHttpHandlerDelegate* delegate,
const base::FilePath& active_port_output_directory) { const base::FilePath& active_port_output_directory) {
VLOG(2) << "DevToolsHttpHandler::Start";
DevToolsHttpHandlerImpl* http_handler = DevToolsHttpHandlerImpl* http_handler =
new DevToolsHttpHandlerImpl(server_socket_factory.Pass(), new DevToolsHttpHandlerImpl(server_socket_factory.Pass(),
frontend_url, frontend_url,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment