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

Unified Diff: components/cronet/ios/Cronet.mm

Issue 2856693002: Cronet iOS: Delete CRNPauseableHTTPProtocolHandler (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698