| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "content/public/browser/devtools_http_handler.h" | 17 #include "content/public/browser/devtools_http_handler.h" |
| 18 #include "net/server/http_server.h" | 18 #include "net/server/http_server.h" |
| 19 #include "net/url_request/url_request.h" | 19 #include "net/url_request/url_request.h" |
| 20 | 20 |
| 21 class TabContents; | |
| 22 | |
| 23 namespace net { | 21 namespace net { |
| 24 class URLRequestContext; | 22 class URLRequestContext; |
| 25 } | 23 } |
| 26 | 24 |
| 27 namespace content { | 25 namespace content { |
| 28 | 26 |
| 29 class DevToolsClientHost; | 27 class DevToolsClientHost; |
| 30 | 28 |
| 31 class DevToolsHttpHandlerImpl | 29 class DevToolsHttpHandlerImpl |
| 32 : public DevToolsHttpHandler, | 30 : public DevToolsHttpHandler, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 typedef std::map<int, content::DevToolsClientHost*> | 97 typedef std::map<int, content::DevToolsClientHost*> |
| 100 ConnectionToClientHostMap; | 98 ConnectionToClientHostMap; |
| 101 ConnectionToClientHostMap connection_to_client_host_ui_; | 99 ConnectionToClientHostMap connection_to_client_host_ui_; |
| 102 scoped_ptr<DevToolsHttpHandlerDelegate> delegate_; | 100 scoped_ptr<DevToolsHttpHandlerDelegate> delegate_; |
| 103 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); | 101 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); |
| 104 }; | 102 }; |
| 105 | 103 |
| 106 } // namespace content | 104 } // namespace content |
| 107 | 105 |
| 108 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ | 106 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ |
| OLD | NEW |