| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ | 6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <jni.h> | 9 #include <jni.h> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 // Opens linux abstract socket to be ready for remote debugging. | 24 // Opens linux abstract socket to be ready for remote debugging. |
| 25 void Start(); | 25 void Start(); |
| 26 | 26 |
| 27 // Closes debugging socket, stops debugging. | 27 // Closes debugging socket, stops debugging. |
| 28 void Stop(); | 28 void Stop(); |
| 29 | 29 |
| 30 bool IsStarted() const; | 30 bool IsStarted() const; |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 bool use_bundled_frontend_resources_; | 33 bool use_bundled_frontend_resources_; |
| 34 const std::string socket_name_; | 34 std::string socket_name_; |
| 35 content::DevToolsHttpHandler* protocol_handler_; | 35 content::DevToolsHttpHandler* protocol_handler_; |
| 36 | 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(DevToolsServer); | 37 DISALLOW_COPY_AND_ASSIGN(DevToolsServer); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 bool RegisterDevToolsServer(JNIEnv* env); | 40 bool RegisterDevToolsServer(JNIEnv* env); |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ | 42 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_ |
| OLD | NEW |