1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
11 #include "base/basictypes.h"
14 class DevToolsHttpHandler
;
17 namespace android_webview
{
19 // This class controls WebView-specific Developer Tools remote debugging server.
20 class AwDevToolsServer
{
25 // Opens linux abstract socket to be ready for remote debugging.
28 // Closes debugging socket, stops debugging.
31 bool IsStarted() const;
34 content::DevToolsHttpHandler
* protocol_handler_
;
36 DISALLOW_COPY_AND_ASSIGN(AwDevToolsServer
);
39 bool RegisterAwDevToolsServer(JNIEnv
* env
);
41 } // namespace android_webview
43 #endif // ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_