Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: android_webview/native/aw_dev_tools_server.h

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for_landing! Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
7
8 #include <jni.h>
9
10 #include <memory>
11 #include <vector>
12
13 #include "base/macros.h"
14
15 namespace devtools_http_handler {
16 class DevToolsHttpHandler;
17 }
18
19 namespace android_webview {
20
21 // This class controls WebView-specific Developer Tools remote debugging server.
22 class AwDevToolsServer {
23 public:
24 AwDevToolsServer();
25 ~AwDevToolsServer();
26
27 // Opens linux abstract socket to be ready for remote debugging.
28 void Start();
29
30 // Closes debugging socket, stops debugging.
31 void Stop();
32
33 bool IsStarted() const;
34
35 private:
36 std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
37 devtools_http_handler_;
38
39 DISALLOW_COPY_AND_ASSIGN(AwDevToolsServer);
40 };
41
42 bool RegisterAwDevToolsServer(JNIEnv* env);
43
44 } // namespace android_webview
45
46 #endif // ANDROID_WEBVIEW_NATIVE_AW_DEV_TOOLS_SERVER_H_
OLDNEW
« no previous file with comments | « android_webview/native/android_webview_jni_registrar.cc ('k') | android_webview/native/aw_dev_tools_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698