| OLD | NEW |
| 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/app/android/child_process_service.h" | 5 #include "content/app/android/child_process_service.h" |
| 6 | 6 |
| 7 #include <android/native_window_jni.h> | 7 #include <android/native_window_jni.h> |
| 8 #include <cpu-features.h> | 8 #include <cpu-features.h> |
| 9 | 9 |
| 10 #include "base/android/jni_array.h" | 10 #include "base/android/jni_array.h" |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void ExitChildProcess(JNIEnv* env, jclass clazz) { | 128 void ExitChildProcess(JNIEnv* env, jclass clazz) { |
| 129 VLOG(0) << "ChildProcessService: Exiting child process."; | 129 VLOG(0) << "ChildProcessService: Exiting child process."; |
| 130 LibraryLoaderExitHook(); | 130 LibraryLoaderExitHook(); |
| 131 _exit(0); | 131 _exit(0); |
| 132 } | 132 } |
| 133 | 133 |
| 134 bool RegisterChildProcessService(JNIEnv* env) { | 134 bool RegisterChildProcessService(JNIEnv* env) { |
| 135 return RegisterNativesImpl(env); | 135 return RegisterNativesImpl(env); |
| 136 } | 136 } |
| 137 | 137 |
| 138 void ShutdownMainThread(JNIEnv* env, jobject obj) { | |
| 139 ChildThread::ShutdownThread(); | |
| 140 } | |
| 141 | |
| 142 } // namespace content | 138 } // namespace content |
| OLD | NEW |