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

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

Issue 1133883002: [Cronet] Enable persistence mode for Sdch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_server_remove_loop
Patch Set: Remove pref file support from legacy API Created 5 years, 7 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/java/src/org/chromium/net/ChromiumUrlRequestContext.java
diff --git a/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java b/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java
index 3a35828a50935fa55aab7431a5c9ac078e0c8d5f..3bdd19cff83e1f0de928e4cdf081cb5e661716ff 100644
--- a/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java
+++ b/components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestContext.java
@@ -12,7 +12,6 @@ import android.util.Log;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
-import org.chromium.base.VisibleForTesting;
/**
* Provides context for the native HTTP operations.
@@ -102,15 +101,6 @@ public class ChromiumUrlRequestContext {
nativeStopNetLog(mChromiumUrlRequestContextAdapter);
}
- /**
- * Returns the native URLRequestContextAdapter pointer.
- * Currently this method is only used in testing.
- */
- @VisibleForTesting
- long getUrlRequestContextAdapterForTesting() {
- return mChromiumUrlRequestContextAdapter;
- }
-
@CalledByNative
private void initNetworkThread() {
Thread.currentThread().setName("ChromiumNet");
@@ -123,7 +113,7 @@ public class ChromiumUrlRequestContext {
super.finalize();
}
- protected long getChromiumUrlRequestContextAdapter() {
+ protected long getUrlRequestContextAdapter() {
return mChromiumUrlRequestContextAdapter;
}

Powered by Google App Engine
This is Rietveld 408576698