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

Side by Side Diff: ios/net/crn_http_protocol_handler.h

Issue 2856693002: Cronet iOS: Delete CRNPauseableHTTPProtocolHandler (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | ios/net/crn_http_protocol_handler.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_ 5 #ifndef IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_
6 #define IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_ 6 #define IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 namespace net { 10 namespace net {
(...skipping 22 matching lines...) Expand all
33 33
34 } // namespace net 34 } // namespace net
35 35
36 // Custom NSURLProtocol handling HTTP and HTTPS requests. 36 // Custom NSURLProtocol handling HTTP and HTTPS requests.
37 // The HttpProtocolHandler is registered as a NSURLProtocol in the iOS system. 37 // The HttpProtocolHandler is registered as a NSURLProtocol in the iOS system.
38 // This protocol is called for each NSURLRequest. This allows handling the 38 // This protocol is called for each NSURLRequest. This allows handling the
39 // requests issued by UIWebView using our own network stack. 39 // requests issued by UIWebView using our own network stack.
40 @interface CRNHTTPProtocolHandler : NSURLProtocol 40 @interface CRNHTTPProtocolHandler : NSURLProtocol
41 @end 41 @end
42 42
43 // Custom NSURLProtocol handling HTTP and HTTPS requests.
44 // The HttpProtocolHandler is registered as a NSURLProtocol in the iOS system.
45 // This protocol is called for each NSURLRequest. This allows handling the
46 // requests issued by UIWebView using our own network stack. This protocol
47 // handler implements iOS 8 NSURLProtocol pause/resume semantics, in which
48 // |startLoading| means "start or resume" and |stopLoading| means "pause".
49 @interface CRNPauseableHTTPProtocolHandler : CRNHTTPProtocolHandler
50 @end
51
52 #endif // IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_ 43 #endif // IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | ios/net/crn_http_protocol_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698