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

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

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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_DEVTOOLS_SERVER_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_DEVTOOLS_SERVER_H_
7
8 #include <jni.h>
9
10 #include <memory>
11 #include <vector>
12
13 #include "base/macros.h"
14
15 namespace android_webview {
16
17 // This class controls WebView-specific Developer Tools remote debugging server.
18 class AwDevToolsServer {
19 public:
20 AwDevToolsServer();
21 ~AwDevToolsServer();
22
23 // Opens linux abstract socket to be ready for remote debugging.
24 void Start();
25
26 // Closes debugging socket, stops debugging.
27 void Stop();
28
29 bool IsStarted() const;
30
31 private:
32 bool is_started_;
33 DISALLOW_COPY_AND_ASSIGN(AwDevToolsServer);
34 };
35
36 bool RegisterAwDevToolsServer(JNIEnv* env);
37
38 } // namespace android_webview
39
40 #endif // ANDROID_WEBVIEW_NATIVE_AW_DEVTOOLS_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698