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

Side by Side Diff: components/cronet/android/test/cronet_test_jni.cc

Issue 544223003: Add SetSupportsQuic method to explicitly specify server that supports QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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 #include <jni.h> 5 #include <jni.h>
6 6
7 #include "base/android/base_jni_registrar.h" 7 #include "base/android/base_jni_registrar.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/jni_registrar.h" 9 #include "base/android/jni_registrar.h"
10 #include "components/cronet/android/cronet_loader.h" 10 #include "components/cronet/android/cronet_loader.h"
(...skipping 24 matching lines...) Expand all
35 arraysize(kCronetTestsRegisteredMethods))) { 35 arraysize(kCronetTestsRegisteredMethods))) {
36 return -1; 36 return -1;
37 } 37 }
38 return cronet_onload; 38 return cronet_onload;
39 } 39 }
40 40
41 extern "C" void JNI_OnUnLoad(JavaVM* vm, void* reserved) { 41 extern "C" void JNI_OnUnLoad(JavaVM* vm, void* reserved) {
42 cronet::CronetOnUnLoad(vm, reserved); 42 cronet::CronetOnUnLoad(vm, reserved);
43 } 43 }
44 44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698