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

Unified Diff: ios/net/crn_http_protocol_handler_proxy.h

Issue 1142383006: CrNet: add pauseable NSURLProtocol and switch to using it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fold PauseableProxy into Proxy Created 5 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 side-by-side diff with in-line comments
Download patch
Index: ios/net/crn_http_protocol_handler_proxy.h
diff --git a/ios/net/crn_http_protocol_handler_proxy.h b/ios/net/crn_http_protocol_handler_proxy.h
index 898db4ad448c1a170a70008273f9b85cbdd96e34..72d762c85f48e796c3c1b7a7a61b0120a9df4c7c 100644
--- a/ios/net/crn_http_protocol_handler_proxy.h
+++ b/ios/net/crn_http_protocol_handler_proxy.h
@@ -18,6 +18,12 @@
// Called from the client thread.
- (void)invalidate;
+// Pauses notifications from this protocol handler.
+- (void)pause;
+
+// Resumes notifications from this protocol handler.
+- (void)resume;
+
@end
#endif // IOS_NET_CRN_HTTP_PROTOCOL_HANDLER_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698