| Index: ios/crnet/crnet_environment.mm
|
| diff --git a/ios/crnet/crnet_environment.mm b/ios/crnet/crnet_environment.mm
|
| index 36e859fc5a5266bd1bfb7d66d884dc7fe2edfcb3..52183b02c2bc9cc2cf2d309946e71541a85f2854 100644
|
| --- a/ios/crnet/crnet_environment.mm
|
| +++ b/ios/crnet/crnet_environment.mm
|
| @@ -311,7 +311,7 @@ void CrNetEnvironment::Install() {
|
|
|
| void CrNetEnvironment::InstallIntoSessionConfiguration(
|
| NSURLSessionConfiguration* config) {
|
| - config.protocolClasses = @[ [CRNPauseableHTTPProtocolHandler class] ];
|
| + config.protocolClasses = @[ [CRNHTTPProtocolHandler class] ];
|
| }
|
|
|
| CrNetEnvironment::~CrNetEnvironment() {
|
| @@ -328,14 +328,14 @@ void CrNetEnvironment::SetHTTPProtocolHandlerRegistered(bool registered) {
|
| [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);
|
| } else {
|
| // Set up an empty default cache, with default size.
|
| // TODO(droger): If the NSURLCache is to be used, its size should most
|
| // likely be changed. On an iPod2 with iOS4, the default size is 512k.
|
| [NSURLCache setSharedURLCache:[[[NSURLCache alloc] init] autorelease]];
|
| - [NSURLProtocol unregisterClass:[CRNPauseableHTTPProtocolHandler class]];
|
| + [NSURLProtocol unregisterClass:[CRNHTTPProtocolHandler class]];
|
| }
|
| }
|
|
|
|
|