Index: content/browser/devtools/devtools_http_handler_impl.h |
diff --git a/content/browser/devtools/devtools_http_handler_impl.h b/content/browser/devtools/devtools_http_handler_impl.h |
index dd027eee63bd150f8d929591f5a981b9d02e8d2f..35596620e9eab3ceb1520efdc594920a5a155255 100644 |
--- a/content/browser/devtools/devtools_http_handler_impl.h |
+++ b/content/browser/devtools/devtools_http_handler_impl.h |
@@ -41,12 +41,11 @@ class DevToolsHttpHandlerImpl |
public base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>, |
public net::HttpServer::Delegate { |
private: |
- struct PageInfo; |
- typedef std::vector<PageInfo> PageList; |
friend class base::RefCountedThreadSafe<DevToolsHttpHandlerImpl>; |
friend class DevToolsHttpHandler; |
- static bool SortPageListByTime(const PageInfo& info1, const PageInfo& info2); |
+ static bool TimeComparator(DevToolsAgentHost* agent_host1, |
+ DevToolsAgentHost* agent_host2); |
// Takes ownership over |socket_factory|. |
DevToolsHttpHandlerImpl(const net::StreamListenSocketFactory* socket_factory, |
@@ -110,16 +109,11 @@ class DevToolsHttpHandlerImpl |
void AcceptWebSocket(int connection_id, |
const net::HttpServerRequestInfo& request); |
- PageList GeneratePageList(); |
- |
// Returns the front end url without the host at the beginning. |
std::string GetFrontendURLInternal(const std::string rvh_id, |
const std::string& host); |
- PageInfo CreatePageInfo(RenderViewHost* rvh, |
- DevToolsHttpHandlerDelegate::TargetType type); |
- |
- base::DictionaryValue* SerializePageInfo(const PageInfo& page_info, |
+ base::DictionaryValue* SerializePageInfo(DevToolsAgentHost* agent_host, |
const std::string& host); |
// The thread used by the devtools handler to run server socket. |