mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Switch to Cronet 56_0_2924_0
This is the second CL in the 3 CL process to switch Cronet versions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140074017
This commit is contained in:
parent
ba49f51380
commit
cbf5988803
1 changed files with 2 additions and 1 deletions
|
|
@ -60,6 +60,7 @@ import org.chromium.net.CronetEngine;
|
||||||
import org.chromium.net.UrlRequest;
|
import org.chromium.net.UrlRequest;
|
||||||
import org.chromium.net.UrlRequestException;
|
import org.chromium.net.UrlRequestException;
|
||||||
import org.chromium.net.UrlResponseInfo;
|
import org.chromium.net.UrlResponseInfo;
|
||||||
|
import org.chromium.net.impl.UrlResponseInfoImpl;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
@ -138,7 +139,7 @@ public final class CronetDataSourceTest {
|
||||||
private UrlResponseInfo createUrlResponseInfo(int statusCode) {
|
private UrlResponseInfo createUrlResponseInfo(int statusCode) {
|
||||||
ArrayList<Map.Entry<String, String>> responseHeaderList = new ArrayList<>();
|
ArrayList<Map.Entry<String, String>> responseHeaderList = new ArrayList<>();
|
||||||
responseHeaderList.addAll(testResponseHeader.entrySet());
|
responseHeaderList.addAll(testResponseHeader.entrySet());
|
||||||
return new UrlResponseInfo(
|
return new UrlResponseInfoImpl(
|
||||||
Collections.singletonList(TEST_URL),
|
Collections.singletonList(TEST_URL),
|
||||||
statusCode,
|
statusCode,
|
||||||
null, // httpStatusText
|
null, // httpStatusText
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue