blob: e2ba3e7844047d7ca1ed793488cf1b68c9bf372f [file] [log] [blame]
// 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 <stdint.h>
#include <memory>
#include <string>
#include "base/macros.h"
class RemoteDebuggingServer {
public:
static void EnableTetheringForDebug();
// Bind remote debugging service to the given |ip| and |port|.
// Empty |ip| stands for 127.0.0.1 or ::1.
RemoteDebuggingServer(const std::string& ip, uint16_t port);
virtual ~RemoteDebuggingServer();
private:
DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
};
#endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_