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

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

Issue 2029423004: QUIC/Cronet - Add Java glue layer to serialize and de-serialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_serialize_0526
Patch Set: Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 static android.os.Process.THREAD_PRIORITY_BACKGROUND; 7 import static android.os.Process.THREAD_PRIORITY_BACKGROUND;
8 import static android.os.Process.THREAD_PRIORITY_MORE_FAVORABLE; 8 import static android.os.Process.THREAD_PRIORITY_MORE_FAVORABLE;
9 9
10 import java.io.IOException; 10 import java.io.IOException;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 mExecutorService.shutdown(); 85 mExecutorService.shutdown();
86 } 86 }
87 87
88 @Override 88 @Override
89 public void startNetLogToFile(String fileName, boolean logAll) {} 89 public void startNetLogToFile(String fileName, boolean logAll) {}
90 90
91 @Override 91 @Override
92 public void stopNetLog() {} 92 public void stopNetLog() {}
93 93
94 @Override 94 @Override
95 public String getCertVerifierData() {
96 return "";
97 }
98
99 @Override
95 public byte[] getGlobalMetricsDeltas() { 100 public byte[] getGlobalMetricsDeltas() {
96 return new byte[0]; 101 return new byte[0];
97 } 102 }
98 103
99 @Override 104 @Override
100 public void enableNetworkQualityEstimator(Executor executor) {} 105 public void enableNetworkQualityEstimator(Executor executor) {}
101 106
102 @Override 107 @Override
103 void enableNetworkQualityEstimatorForTesting( 108 void enableNetworkQualityEstimatorForTesting(
104 boolean useLocalHostRequests, boolean useSmallerResponses, Executor executor) {} 109 boolean useLocalHostRequests, boolean useSmallerResponses, Executor executor) {}
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Returning null causes this factory to pass though, which ends up usin g the platform's 141 // Returning null causes this factory to pass though, which ends up usin g the platform's
137 // implementation. 142 // implementation.
138 return new URLStreamHandlerFactory() { 143 return new URLStreamHandlerFactory() {
139 @Override 144 @Override
140 public URLStreamHandler createURLStreamHandler(String protocol) { 145 public URLStreamHandler createURLStreamHandler(String protocol) {
141 return null; 146 return null;
142 } 147 }
143 }; 148 };
144 } 149 }
145 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698