Chromium Code Reviews| Index: components/cronet/android/test/cronet_test_util.h |
| diff --git a/components/cronet/android/test/cronet_test_util.h b/components/cronet/android/test/cronet_test_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b5be05ffac65168bd45d96dc80af0de70b27af12 |
| --- /dev/null |
| +++ b/components/cronet/android/test/cronet_test_util.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |
| +#define COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |
| + |
| +#include <jni.h> |
| + |
| +namespace cronet { |
| + |
| +const char kFakeSdchDomain[] = "fake.sdch.domain"; |
|
mef
2016/01/26 21:45:03
nit: I think normally header file declares "extern
pauljensen
2016/01/29 17:10:09
Done.
|
| +// Host used in QuicTestServer. This must match the certificate used |
| +// (quic_test.example.com.crt and quic_test.example.com.key.pkcs8), and |
| +// the file served ( |
| +// components/cronet/android/test/assets/test/quic_data/simple.txt). |
| +const char kFakeQuicDomain[] = "test.example.com"; |
| + |
| +bool RegisterCronetTestUtil(JNIEnv* env); |
| + |
| +} // namespace cronet |
| + |
| +#endif // COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_ |