OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ | 5 #ifndef COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |
6 #define COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ | 6 #define COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 namespace cronet { | 10 namespace cronet { |
11 | 11 |
12 // Host used in NativeTestServer for SDCH requests. | |
13 extern const char kFakeSdchDomain[]; | |
14 // Host used in QuicTestServer. | |
15 extern const char kFakeQuicDomain[]; | |
16 | |
17 bool RegisterCronetTestUtil(JNIEnv* env); | 12 bool RegisterCronetTestUtil(JNIEnv* env); |
18 | 13 |
19 } // namespace cronet | 14 } // namespace cronet |
20 | 15 |
21 #endif // COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ | 16 #endif // COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |
OLD | NEW |