OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "cronet_url_request_context_config_test.h" | 5 #include "cronet_url_request_context_config_test.h" |
6 | 6 |
7 #include <jni.h> | 7 #include <jni.h> |
8 | 8 |
9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 CHECK_EQ(config->data_reduction_fallback_proxy, "qrst"); | 42 CHECK_EQ(config->data_reduction_fallback_proxy, "qrst"); |
43 CHECK_EQ(config->data_reduction_secure_proxy_check_url, "uvwx"); | 43 CHECK_EQ(config->data_reduction_secure_proxy_check_url, "uvwx"); |
44 CHECK_EQ(config->storage_path, | 44 CHECK_EQ(config->storage_path, |
45 base::android::ConvertJavaStringToUTF8(env, jstorage_path)); | 45 base::android::ConvertJavaStringToUTF8(env, jstorage_path)); |
46 } | 46 } |
47 | 47 |
48 bool RegisterCronetUrlRequestContextConfigTest(JNIEnv* env) { | 48 bool RegisterCronetUrlRequestContextConfigTest(JNIEnv* env) { |
49 return RegisterNativesImpl(env); | 49 return RegisterNativesImpl(env); |
50 } | 50 } |
51 | 51 |
52 } // namespace cronet | 52 } // namespace cronet |
xunjieli
2016/01/25 18:24:09
Should probably reset this change in this file, as
mgersh
2016/01/25 19:37:30
Done.
| |
OLD | NEW |