Index: content/browser/debugger/devtools_http_handler_impl.h |
diff --git a/content/browser/debugger/devtools_http_handler_impl.h b/content/browser/debugger/devtools_http_handler_impl.h |
index f5c40bb26017152fb3c61924cdcfa3be61562820..0b652061e92223dd8ab299b688b2ebc6f54ed868 100644 |
--- a/content/browser/debugger/devtools_http_handler_impl.h |
+++ b/content/browser/debugger/devtools_http_handler_impl.h |
@@ -18,7 +18,9 @@ |
#include "net/server/http_server.h" |
namespace base { |
+class DictionaryValue; |
class Thread; |
+class Value; |
} |
namespace net { |
@@ -68,6 +70,10 @@ class DevToolsHttpHandlerImpl |
void OnJsonRequestUI(int connection_id, |
const net::HttpServerRequestInfo& info); |
+ void OnNewTargetRequestUI(int connection_id, |
+ const net::HttpServerRequestInfo& info); |
+ void OnCloseTargetRequestUI(int connection_id, |
+ const net::HttpServerRequestInfo& info); |
void OnThumbnailRequestUI(int connection_id, |
const net::HttpServerRequestInfo& info); |
void OnWebSocketRequestUI(int connection_id, |
@@ -81,6 +87,9 @@ class DevToolsHttpHandlerImpl |
void Send200(int connection_id, |
const std::string& data, |
const std::string& mime_type = "text/html"); |
+ void SendJson(int connection_id, |
+ const net::HttpServerRequestInfo& info, |
+ const base::Value& value); |
void Send404(int connection_id); |
void Send500(int connection_id, |
const std::string& message); |
@@ -93,6 +102,11 @@ class DevToolsHttpHandlerImpl |
std::string GetFrontendURLInternal(const std::string rvh_id, |
const std::string& host); |
+ PageInfo CreatePageInfo(RenderViewHost* rvh); |
+ |
+ base::DictionaryValue* SerializePageInfo(const PageInfo& page_info, |
+ const std::string& host); |
+ |
// The thread used by the devtools handler to run server socket. |
scoped_ptr<base::Thread> thread_; |