summaryrefslogtreecommitdiffstats
path: root/components/cronet/android/test/cronet_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/cronet/android/test/cronet_test_util.h')
-rw-r--r--components/cronet/android/test/cronet_test_util.h21
1 files changed, 21 insertions, 0 deletions
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 0000000..3d7cc10
--- /dev/null
+++ b/components/cronet/android/test/cronet_test_util.h
@@ -0,0 +1,21 @@
+// 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 {
+
+// Host used in NativeTestServer for SDCH requests.
+extern const char kFakeSdchDomain[];
+// Host used in QuicTestServer.
+extern const char kFakeQuicDomain[];
+
+bool RegisterCronetTestUtil(JNIEnv* env);
+
+} // namespace cronet
+
+#endif // COMPONENTS_CRONET_ANDROID_TEST_CRONET_TEST_UTIL_H_