2015-01-10 01:14:52 +00:00
|
|
|
// Copyright (c) 2015 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-CHROMIUM file.
|
|
|
|
|
|
|
|
#ifndef BROWSER_REMOTE_DEBUGGING_SERVER_H_
|
|
|
|
#define BROWSER_REMOTE_DEBUGGING_SERVER_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "base/basictypes.h"
|
|
|
|
|
|
|
|
namespace content {
|
|
|
|
class DevToolsHttpHandler;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
|
|
|
class RemoteDebuggingServer {
|
2015-01-10 01:27:30 +00:00
|
|
|
public:
|
2015-01-10 01:14:52 +00:00
|
|
|
RemoteDebuggingServer(const std::string& ip, uint16 port);
|
|
|
|
virtual ~RemoteDebuggingServer();
|
|
|
|
|
2015-01-10 01:27:30 +00:00
|
|
|
private:
|
2015-01-10 01:14:52 +00:00
|
|
|
content::DevToolsHttpHandler* devtools_http_handler_;
|
|
|
|
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace brightray
|
|
|
|
|
|
|
|
#endif // BROWSER_REMOTE_DEBUGGING_SERVER_H_
|