Index: components/cronet/ios/Cronet.mm |
diff --git a/components/cronet/ios/Cronet.mm b/components/cronet/ios/Cronet.mm |
index 3adc49185c673fdef413d8f2095b183c75982316..acbd855528b38f5237143600bf428083d9d05b3e 100644 |
--- a/components/cronet/ios/Cronet.mm |
+++ b/components/cronet/ios/Cronet.mm |
@@ -260,7 +260,7 @@ class CronetHttpProtocolHandlerDelegate |
[NSURLCache setSharedURLCache:[EmptyNSURLCache emptyNSURLCache]]; |
// Register the chrome http protocol handler to replace the default one. |
BOOL success = |
- [NSURLProtocol registerClass:[CRNPauseableHTTPProtocolHandler class]]; |
+ [NSURLProtocol registerClass:[CRNHTTPProtocolHandler class]]; |
DCHECK(success); |
} |
@@ -270,11 +270,11 @@ class CronetHttpProtocolHandlerDelegate |
[NSURLCache setSharedURLCache:gPreservedSharedURLCache]; |
gPreservedSharedURLCache = nil; |
} |
- [NSURLProtocol unregisterClass:[CRNPauseableHTTPProtocolHandler class]]; |
+ [NSURLProtocol unregisterClass:[CRNHTTPProtocolHandler class]]; |
} |
+ (void)installIntoSessionConfiguration:(NSURLSessionConfiguration*)config { |
- config.protocolClasses = @[ [CRNPauseableHTTPProtocolHandler class] ]; |
+ config.protocolClasses = @[ [CRNHTTPProtocolHandler class] ]; |
} |
+ (NSString*)getNetLogPathForFile:(NSString*)fileName { |