| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/runner/android/android_handler.h" | 5 #include "mojo/runner/android/android_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/android/context_utils.h" | 9 #include "base/android/context_utils.h" |
| 8 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| 9 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
| 10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 12 #include "base/scoped_native_library.h" | 14 #include "base/scoped_native_library.h" |
| 13 #include "jni/AndroidHandler_jni.h" | 15 #include "jni/AndroidHandler_jni.h" |
| 14 #include "mojo/application/public/cpp/application_impl.h" | 16 #include "mojo/application/public/cpp/application_impl.h" |
| 15 #include "mojo/common/data_pipe_utils.h" | 17 #include "mojo/common/data_pipe_utils.h" |
| 16 #include "mojo/public/c/system/main.h" | 18 #include "mojo/public/c/system/main.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 connection->AddService(&content_handler_factory_); | 174 connection->AddService(&content_handler_factory_); |
| 173 return true; | 175 return true; |
| 174 } | 176 } |
| 175 | 177 |
| 176 bool RegisterAndroidHandlerJni(JNIEnv* env) { | 178 bool RegisterAndroidHandlerJni(JNIEnv* env) { |
| 177 return RegisterNativesImpl(env); | 179 return RegisterNativesImpl(env); |
| 178 } | 180 } |
| 179 | 181 |
| 180 } // namespace runner | 182 } // namespace runner |
| 181 } // namespace mojo | 183 } // namespace mojo |
| OLD | NEW |