Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: components/cronet/android/test/cronet_test_util.h

Issue 1536433002: [Cronet] Get Cronet performance test running again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Misha's comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698