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

Side by Side Diff: chrome/browser/devtools/remote_debugging_server.h

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for_landing! Created 4 years, 3 months 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) 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 CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 14
15 namespace devtools_http_handler {
16 class DevToolsHttpHandler;
17 }
18
19 class RemoteDebuggingServer { 15 class RemoteDebuggingServer {
20 public: 16 public:
21 static void EnableTetheringForDebug(); 17 static void EnableTetheringForDebug();
22 18
23 // Bind remote debugging service to the given |ip| and |port|. 19 // Bind remote debugging service to the given |ip| and |port|.
24 // Empty |ip| stands for 127.0.0.1 or ::1. 20 // Empty |ip| stands for 127.0.0.1 or ::1.
25 RemoteDebuggingServer(const std::string& ip, uint16_t port); 21 RemoteDebuggingServer(const std::string& ip, uint16_t port);
26 virtual ~RemoteDebuggingServer(); 22 virtual ~RemoteDebuggingServer();
27 23
28 private: 24 private:
29 std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
30 devtools_http_handler_;
31 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 25 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
32 }; 26 };
33 27
34 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 28 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/devtools_android_bridge.cc ('k') | chrome/browser/devtools/remote_debugging_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698