summaryrefslogtreecommitdiffstats
path: root/content/browser/debugger/devtools_http_handler_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/debugger/devtools_http_handler_impl.h')
-rw-r--r--content/browser/debugger/devtools_http_handler_impl.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/content/browser/debugger/devtools_http_handler_impl.h b/content/browser/debugger/devtools_http_handler_impl.h
index b51bb1e..c912b92 100644
--- a/content/browser/debugger/devtools_http_handler_impl.h
+++ b/content/browser/debugger/devtools_http_handler_impl.h
@@ -76,14 +76,8 @@ class DevToolsHttpHandlerImpl
const std::string& data) OVERRIDE;
virtual void OnClose(int connection_id) OVERRIDE;
- void OnVersionRequestUI(int connection_id,
- const net::HttpServerRequestInfo& info);
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 OnDiscoveryPageRequestUI(int connection_id);
@@ -102,12 +96,14 @@ class DevToolsHttpHandlerImpl
void StartHandlerThread();
void StopHandlerThread();
+ void SendJson(int connection_id,
+ net::HttpStatusCode status_code,
+ base::Value* value,
+ const std::string& message,
+ const std::string& jsonp);
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);
+ const std::string& mime_type);
void Send404(int connection_id);
void Send500(int connection_id,
const std::string& message);