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 <jni.h> | 5 #include <jni.h> |
6 | 6 |
7 #include "base/android/base_jni_registrar.h" | 7 #include "base/android/base_jni_registrar.h" |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/android/jni_registrar.h" | 9 #include "base/android/jni_registrar.h" |
| 10 #include "base/macros.h" |
10 #include "components/cronet/android/cronet_library_loader.h" | 11 #include "components/cronet/android/cronet_library_loader.h" |
11 #include "cronet_url_request_context_config_test.h" | 12 #include "cronet_url_request_context_config_test.h" |
12 #include "mock_cert_verifier.h" | 13 #include "mock_cert_verifier.h" |
13 #include "mock_url_request_job_factory.h" | 14 #include "mock_url_request_job_factory.h" |
14 #include "native_test_server.h" | 15 #include "native_test_server.h" |
15 #include "network_change_notifier_util.h" | 16 #include "network_change_notifier_util.h" |
16 #include "quic_test_server.h" | 17 #include "quic_test_server.h" |
17 #include "sdch_test_util.h" | 18 #include "sdch_test_util.h" |
18 #include "test_upload_data_stream_handler.h" | 19 #include "test_upload_data_stream_handler.h" |
19 | 20 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 arraysize(kCronetTestsRegisteredMethods))) { | 53 arraysize(kCronetTestsRegisteredMethods))) { |
53 return -1; | 54 return -1; |
54 } | 55 } |
55 return cronet_onload; | 56 return cronet_onload; |
56 } | 57 } |
57 | 58 |
58 extern "C" void JNI_OnUnLoad(JavaVM* vm, void* reserved) { | 59 extern "C" void JNI_OnUnLoad(JavaVM* vm, void* reserved) { |
59 cronet::CronetOnUnLoad(vm, reserved); | 60 cronet::CronetOnUnLoad(vm, reserved); |
60 } | 61 } |
61 | 62 |
OLD | NEW |