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

Side by Side Diff: content/browser/android/remote_debugging_controller.cc

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "content/browser/android/remote_debugging_controller.h" 5 #include "content/browser/android/remote_debugging_controller.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
8 8
9 #include "content/public/browser/android/devtools_server.h" 9 #include "content/public/browser/android/devtools_server.h"
10 #include "jni/remote_debugging_controller_jni.h" 10 #include "jni/RemoteDebuggingController_jni.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 static void StartRemoteDebugging(JNIEnv*, jclass) { 14 static void StartRemoteDebugging(JNIEnv*, jclass) {
15 DevToolsServer::GetInstance()->Start(); 15 DevToolsServer::GetInstance()->Start();
16 } 16 }
17 17
18 static void StopRemoteDebugging(JNIEnv* , jclass) { 18 static void StopRemoteDebugging(JNIEnv* , jclass) {
19 DevToolsServer::GetInstance()->Stop(); 19 DevToolsServer::GetInstance()->Stop();
20 } 20 }
21 21
22 static jboolean IsRemoteDebuggingEnabled(JNIEnv*, jclass) { 22 static jboolean IsRemoteDebuggingEnabled(JNIEnv*, jclass) {
23 return DevToolsServer::GetInstance()->IsStarted(); 23 return DevToolsServer::GetInstance()->IsStarted();
24 } 24 }
25 25
26 bool RegisterRemoteDebuggingController(JNIEnv* env) { 26 bool RegisterRemoteDebuggingController(JNIEnv* env) {
27 return RegisterNativesImpl(env); 27 return RegisterNativesImpl(env);
28 } 28 }
29 29
30 } // namespace content 30 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/download_controller.cc ('k') | content/browser/android/sandboxed_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698