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

Unified Diff: ios/net/request_tracker.h

Issue 2633453004: Remove support for GlobalNetworkClientFactory from RequestTracker. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 | « ios/net/crn_http_protocol_handler.mm ('k') | ios/net/request_tracker.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/request_tracker.h
diff --git a/ios/net/request_tracker.h b/ios/net/request_tracker.h
index 50fcc517dc42dc7e2a4356beafaaf23cdfa1567e..117b41232ab8f35dfaef3f0f6a800ba706a92eb7 100644
--- a/ios/net/request_tracker.h
+++ b/ios/net/request_tracker.h
@@ -78,14 +78,6 @@ class RequestTracker {
// this tracker.
void AddNetworkClientFactory(CRNForwardingNetworkClientFactory* factory);
- // Registers a factory with the class that will be added to all trackers.
- // Requests without associated trackers can add clients from these factories
- // using GlobalClientsHandlingAnyRequest().
- // Only |-clientHandlingAnyRequest| will be called on |factory|, the other
- // methods are not supported.
- static void AddGlobalNetworkClientFactory(
- CRNForwardingNetworkClientFactory* factory);
-
// Gets the request context associated with the tracker.
virtual URLRequestContext* GetRequestContext() = 0;
@@ -95,10 +87,6 @@ class RequestTracker {
// may be empty. The caller is responsible for taking ownership of the clients
// in the array.
- // Static method that returns clients that can handle any request, for use
- // in cases where a request isn't associated with any request_tracker.
- static NSArray* GlobalClientsHandlingAnyRequest();
-
// Returns clients that can handle any request.
NSArray* ClientsHandlingAnyRequest();
// Returns clients that can handle |request|.
« no previous file with comments | « ios/net/crn_http_protocol_handler.mm ('k') | ios/net/request_tracker.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698