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