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

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: Fixes Created 5 years, 6 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.
droger 2015/06/11 08:56:19 Maybe remove this "Called from the client thread."
droger 2015/06/11 08:58:36 Actually I'm not sure if all the methods of CRNNet
droger 2015/06/11 09:01:21 Looking at the code I would think that in practice
Elly Fong-Jones 2015/06/11 13:49:33 Documented, at least.
- (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