Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: content/browser/devtools/devtools_http_handler.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "content/public/browser/devtools_agent_host.h" 15 #include "content/public/browser/devtools_agent_host.h"
16 #include "net/http/http_status_code.h" 16 #include "net/http/http_status_code.h"
17 17
18 class GURL;
19
20 namespace base { 18 namespace base {
21 class DictionaryValue; 19 class DictionaryValue;
22 class Thread; 20 class Thread;
23 class Value; 21 class Value;
24 } 22 }
25 23
26 namespace content { 24 namespace content {
27 class DevToolsManagerDelegate; 25 class DevToolsManagerDelegate;
28 class DevToolsSocketFactory; 26 class DevToolsSocketFactory;
29 } 27 }
30 28
31 namespace net { 29 namespace net {
32 class IPEndPoint; 30 class IPEndPoint;
33 class HttpServerRequestInfo; 31 class HttpServerRequestInfo;
34 class ServerSocket;
35 } 32 }
36 33
37 namespace content { 34 namespace content {
38 35
39 class DevToolsAgentHostClientImpl; 36 class DevToolsAgentHostClientImpl;
40 class DevToolsHttpHandlerDelegate;
41 class ServerWrapper; 37 class ServerWrapper;
42 38
43 // This class is used for managing DevTools remote debugging server. 39 // This class is used for managing DevTools remote debugging server.
44 // Clients can connect to the specified ip:port and start debugging 40 // Clients can connect to the specified ip:port and start debugging
45 // this browser. 41 // this browser.
46 class DevToolsHttpHandler { 42 class DevToolsHttpHandler {
47 public: 43 public:
48 // Takes ownership over |socket_factory|. 44 // Takes ownership over |socket_factory|.
49 // If |frontend_url| is empty, assumes it's bundled, and uses 45 // If |frontend_url| is empty, assumes it's bundled, and uses
50 // |delegate->GetFrontendResource()|. 46 // |delegate->GetFrontendResource()|.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 std::map<std::string, scoped_refptr<DevToolsAgentHost>>; 125 std::map<std::string, scoped_refptr<DevToolsAgentHost>>;
130 DescriptorMap agent_host_map_; 126 DescriptorMap agent_host_map_;
131 base::WeakPtrFactory<DevToolsHttpHandler> weak_factory_; 127 base::WeakPtrFactory<DevToolsHttpHandler> weak_factory_;
132 128
133 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandler); 129 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandler);
134 }; 130 };
135 131
136 } // namespace content 132 } // namespace content
137 133
138 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_ 134 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_HTTP_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/offscreen_browser_compositor_output_surface.h ('k') | content/browser/devtools/devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698