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

Unified Diff: chrome/browser/android/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/dev_tools_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/dev_tools_server.h
diff --git a/chrome/browser/android/dev_tools_server.h b/chrome/browser/android/dev_tools_server.h
deleted file mode 100644
index 5f2e515936ad154ad60d7391b2c5c61f710cce4b..0000000000000000000000000000000000000000
--- a/chrome/browser/android/dev_tools_server.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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_DEV_TOOLS_SERVER_H_
-#define CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
-
-#include <jni.h>
-
-#include <memory>
-#include <string>
-
-#include "base/macros.h"
-
-namespace devtools_http_handler {
-class DevToolsHttpHandler;
-}
-
-// This class controls Developer Tools remote debugging server.
-class DevToolsServer {
- public:
- explicit DevToolsServer(const std::string& socket_name_prefix);
- ~DevToolsServer();
-
- // Opens linux abstract socket to be ready for remote debugging.
- void Start(bool allow_debug_permission);
-
- // Closes debugging socket, stops debugging.
- void Stop();
-
- bool IsStarted() const;
-
- private:
- std::string socket_name_;
- std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
- devtools_http_handler_;
-
- DISALLOW_COPY_AND_ASSIGN(DevToolsServer);
-};
-
-bool RegisterDevToolsServer(JNIEnv* env);
-
-#endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_SERVER_H_
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/dev_tools_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698