OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_ |
| 7 |
| 8 #include <string> |
| 9 #include "base/basictypes.h" |
| 10 |
| 11 namespace content { |
| 12 class DevToolsHttpHandler; |
| 13 } |
| 14 |
| 15 // This class controls Developer Tools remote debugging server. |
| 16 class DevToolsServer { |
| 17 public: |
| 18 DevToolsServer(); |
| 19 ~DevToolsServer(); |
| 20 |
| 21 // Opens linux abstract socket to be ready for remote debugging. |
| 22 void Start(); |
| 23 |
| 24 // Closes debugging socket, stops debugging. |
| 25 void Stop(); |
| 26 |
| 27 bool IsStarted() const; |
| 28 |
| 29 private: |
| 30 content::DevToolsHttpHandler* protocol_handler_; |
| 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(DevToolsServer); |
| 33 }; |
| 34 |
| 35 #endif // CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_ |
OLD | NEW |