#ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
#define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
#include <string>
#include <jni.h>
#include "base/basictypes.h"
namespace content {
class DevToolsHttpHandler;
}
class DevToolsServer {
public:
DevToolsServer();
explicit DevToolsServer(const std::string& socket_name_prefix);
~DevToolsServer();
void Start();
void Stop();
bool IsStarted() const;
private:
std::string socket_name_;
content::DevToolsHttpHandler* protocol_handler_;
DISALLOW_COPY_AND_ASSIGN(DevToolsServer);
};
bool RegisterDevToolsServer(JNIEnv* env);
#endif