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

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java

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 package org.chromium.net; 5 package org.chromium.net;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.os.ConditionVariable; 8 import android.os.ConditionVariable;
9 import android.os.Process; 9 import android.os.Process;
10 import android.util.Log; 10 import android.util.Log;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 return loggingLevel; 119 return loggingLevel;
120 } 120 }
121 121
122 // Returns an instance ChromiumUrlRequestContextAdapter to be stored in 122 // Returns an instance ChromiumUrlRequestContextAdapter to be stored in
123 // mChromiumUrlRequestContextAdapter. 123 // mChromiumUrlRequestContextAdapter.
124 private native long nativeCreateRequestContextAdapter(Context context, 124 private native long nativeCreateRequestContextAdapter(Context context,
125 String userAgent, int loggingLevel, String config); 125 String userAgent, int loggingLevel, String config);
126 126
127 private native void nativeReleaseRequestContextAdapter( 127 private native void nativeReleaseRequestContextAdapter(
128 long ChromiumUrlRequestContextAdapter); 128 long chromiumUrlRequestContextAdapter);
129 129
130 private native void nativeInitializeStatistics(); 130 private native void nativeInitializeStatistics();
131 131
132 private native String nativeGetStatisticsJSON(String filter); 132 private native String nativeGetStatisticsJSON(String filter);
133 133
134 private native void nativeStartNetLogToFile( 134 private native void nativeStartNetLogToFile(
135 long ChromiumUrlRequestContextAdapter, String fileName); 135 long chromiumUrlRequestContextAdapter, String fileName);
136 136
137 private native void nativeStopNetLog(long ChromiumUrlRequestContextAdapter); 137 private native void nativeStopNetLog(long chromiumUrlRequestContextAdapter);
138 } 138 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698