mirror of
https://github.com/electron/electron.git
synced 2026-02-16 10:07:05 -05:00
Use the new devtools API
This commit is contained in:
31
brightray/browser/remote_debugging_server.h
Normal file
31
brightray/browser/remote_debugging_server.h
Normal file
@@ -0,0 +1,31 @@
|
||||
// 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 {
|
||||
public:
|
||||
RemoteDebuggingServer(const std::string& ip, uint16 port);
|
||||
virtual ~RemoteDebuggingServer();
|
||||
|
||||
private:
|
||||
content::DevToolsHttpHandler* devtools_http_handler_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
#endif // BROWSER_REMOTE_DEBUGGING_SERVER_H_
|
||||
Reference in New Issue
Block a user