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 #ifndef CRONET_NATIVE_TEST_SERVER_H_ | 5 #ifndef CRONET_NATIVE_TEST_SERVER_H_ |
6 #define CRONET_NATIVE_TEST_SERVER_H_ | 6 #define CRONET_NATIVE_TEST_SERVER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 namespace cronet { | 10 namespace cronet { |
11 | 11 |
12 const char kFakeSdchDomain[] = "fake.sdch.domain"; | |
mef
2016/01/22 16:21:57
not sure whether these belong here or in cronet_te
pauljensen
2016/01/25 02:47:48
I think cronet_test_util.h is better. Moved.
| |
13 // Host used in QuicTestServer. This must match the certificate used | |
14 // (quic_test.example.com.crt and quic_test.example.com.key.pkcs8), and | |
15 // the file served ( | |
16 // components/cronet/android/test/assets/test/quic_data/simple.txt). | |
17 const char kFakeQuicDomain[] = "test.example.com"; | |
18 | |
12 bool RegisterNativeTestServer(JNIEnv* env); | 19 bool RegisterNativeTestServer(JNIEnv* env); |
13 | 20 |
14 } // namespace cronet | 21 } // namespace cronet |
15 | 22 |
16 #endif // CRONET_NATIVE_TEST_SERVER_H_ | 23 #endif // CRONET_NATIVE_TEST_SERVER_H_ |
OLD | NEW |