Index: chrome/browser/debugger/devtools_http_protocol_handler.cc |
diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc |
index 6e55da082697a08f995cf2543b2f3a97737de27d..90e95e08c5a376f132a631369544204131fd2b5d 100644 |
--- a/chrome/browser/debugger/devtools_http_protocol_handler.cc |
+++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc |
@@ -10,6 +10,7 @@ |
#include "base/json/json_writer.h" |
#include "base/logging.h" |
#include "base/message_loop_proxy.h" |
+#include "base/stringprintf.h" |
#include "base/string_number_conversions.h" |
#include "base/threading/thread.h" |
#include "base/utf_string_conversions.h" |
@@ -152,11 +153,11 @@ void DevToolsHttpProtocolHandler::OnHttpRequest( |
net::URLRequest* request; |
- if (info.path.find("/devtools/") == 0) |
+ if (info.path.find("/devtools/") == 0) { |
request = new net::URLRequest(GURL("chrome-devtools:/" + info.path), this); |
- else if (info.path.find("/thumb/") == 0) |
+ } else if (info.path.find("/thumb/") == 0) { |
request = new net::URLRequest(GURL("chrome:/" + info.path), this); |
- else { |
+ } else { |
server_->Send404(connection_id); |
return; |
} |