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

Unified Diff: content/public/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: Address Pavel's comments Created 8 years, 4 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 | « content/public/browser/android/devtools_auth.h ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/devtools_server.h
diff --git a/content/public/browser/android/devtools_server.h b/content/public/browser/android/devtools_server.h
deleted file mode 100644
index 6bcf1dd3e0ccc63aedae4b379dc4679bd4debaf8..0000000000000000000000000000000000000000
--- a/content/public/browser/android/devtools_server.h
+++ /dev/null
@@ -1,53 +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 CONTENT_PUBLIC_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
-#define CONTENT_PUBLIC_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
-
-#include <string>
-
-#include "base/callback_forward.h"
-
-namespace net {
-class URLRequestContextGetter;
-}
-
-namespace content {
-
-class DevToolsHttpHandlerDelegate;
-
-// This class controls Developer Tools remote debugging server.
-class DevToolsServer {
- public:
- // A callback being called each time the server restarts.
- // The delegate instance is deleted on server stop, so the creator must
- // provide the new instance on each call.
- typedef base::Callback<content::DevToolsHttpHandlerDelegate*(void)>
- DelegateCreator;
-
- // Returns the singleton instance (and initializes it if necessary).
- static DevToolsServer* GetInstance();
-
- // Initializes the server. Must be called prior to the first call of |Start|.
- virtual void Init(const std::string& frontend_version,
- net::URLRequestContextGetter* url_request_context,
- const DelegateCreator& delegate_creator) = 0;
-
- // Opens linux abstract socket to be ready for remote debugging.
- virtual void Start() = 0;
-
- // Closes debugging socket, stops debugging.
- virtual void Stop() = 0;
-
- virtual bool IsInitialized() const = 0;
-
- virtual bool IsStarted() const = 0;
-
- protected:
- virtual ~DevToolsServer() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_ANDROID_DEVTOOLS_SERVER_H_
« no previous file with comments | « content/public/browser/android/devtools_auth.h ('k') | content/shell/shell_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698