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

Unified Diff: content/browser/android/remote_debugging_controller.cc

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
Index: content/browser/android/remote_debugging_controller.cc
diff --git a/content/browser/android/remote_debugging_controller.cc b/content/browser/android/remote_debugging_controller.cc
deleted file mode 100644
index 67f1bd68f21bf398fa8133e7a7a610f8923d6a7b..0000000000000000000000000000000000000000
--- a/content/browser/android/remote_debugging_controller.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include "content/browser/android/remote_debugging_controller.h"
-
-#include <jni.h>
-
-#include "content/public/browser/android/devtools_server.h"
-#include "jni/RemoteDebuggingController_jni.h"
-
-namespace content {
-
-static void StartRemoteDebugging(JNIEnv*, jclass) {
- DevToolsServer::GetInstance()->Start();
-}
-
-static void StopRemoteDebugging(JNIEnv* , jclass) {
- DevToolsServer::GetInstance()->Stop();
-}
-
-static jboolean IsRemoteDebuggingEnabled(JNIEnv*, jclass) {
- return DevToolsServer::GetInstance()->IsStarted();
-}
-
-bool RegisterRemoteDebuggingController(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698