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/android/system/core_impl.h" | 5 #include "mojo/android/system/core_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/android/base_jni_registrar.h" | 10 #include "base/android/base_jni_registrar.h" |
8 #include "base/android/jni_android.h" | 11 #include "base/android/jni_android.h" |
9 #include "base/android/jni_registrar.h" | 12 #include "base/android/jni_registrar.h" |
10 #include "base/android/library_loader/library_loader_hooks.h" | 13 #include "base/android/library_loader/library_loader_hooks.h" |
11 #include "base/android/scoped_java_ref.h" | 14 #include "base/android/scoped_java_ref.h" |
12 #include "base/bind.h" | 15 #include "base/bind.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
15 #include "jni/CoreImpl_jni.h" | 18 #include "jni/CoreImpl_jni.h" |
16 #include "mojo/public/c/environment/async_waiter.h" | 19 #include "mojo/public/c/environment/async_waiter.h" |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 return 0; | 413 return 0; |
411 return alignment - offset; | 414 return alignment - offset; |
412 } | 415 } |
413 | 416 |
414 bool RegisterCoreImpl(JNIEnv* env) { | 417 bool RegisterCoreImpl(JNIEnv* env) { |
415 return RegisterNativesImpl(env); | 418 return RegisterNativesImpl(env); |
416 } | 419 } |
417 | 420 |
418 } // namespace android | 421 } // namespace android |
419 } // namespace mojo | 422 } // namespace mojo |
OLD | NEW |