blob: c82565fcd58c25bcb85a0a68191f606fbc532815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
#define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
#include <string>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/host_desktop.h"
namespace devtools_http_handler {
class DevToolsHttpHandler;
}
class ChromeDevToolsManagerDelegate;
class RemoteDebuggingServer {
public:
static void EnableTetheringForDebug();
RemoteDebuggingServer(chrome::HostDesktopType host_desktop_type,
const std::string& ip,
uint16 port);
virtual ~RemoteDebuggingServer();
private:
// TODO(dgozman): remove once devtools_discovery component is extracted.
scoped_ptr<ChromeDevToolsManagerDelegate> manager_delegate_;
scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_;
DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
};
#endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
|