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

Unified Diff: chrome/browser/android/devtools_server.h

Issue 10832112: Simplify devtools code on android and enable devtools for android content_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/devtools_server.cc » ('j') | chrome/browser/android/devtools_server.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/devtools_server.h
diff --git a/chrome/browser/android/devtools_server.h b/chrome/browser/android/devtools_server.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e10d7ab5fe8bc2c91f2fcf3b1636c46cef81630
--- /dev/null
+++ b/chrome/browser/android/devtools_server.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
+#define CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
+
+#include <string>
+#include "base/basictypes.h"
+
+namespace content {
+class DevToolsHttpHandler;
+}
+
+// This class controls Developer Tools remote debugging server.
+class DevToolsServer {
+ public:
+ DevToolsServer();
+ ~DevToolsServer();
+
+ // Opens linux abstract socket to be ready for remote debugging.
+ void Start();
+
+ // Closes debugging socket, stops debugging.
+ void Stop();
+
+ bool IsStarted() const;
+
+ private:
+ content::DevToolsHttpHandler* protocol_handler_;
+
+ DISALLOW_COPY_AND_ASSIGN(DevToolsServer);
+};
+
+#endif // CHROME_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
« no previous file with comments | « no previous file | chrome/browser/android/devtools_server.cc » ('j') | chrome/browser/android/devtools_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698