1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_NET_CLIENTS_CRW_PASSKIT_NETWORK_CLIENT_FACTORY_H_
6 #define IOS_WEB_NET_CLIENTS_CRW_PASSKIT_NETWORK_CLIENT_FACTORY_H_
8 #import <Foundation/Foundation.h>
10 #import "ios/net/clients/crn_forwarding_network_client_factory.h"
13 class RequestTrackerImpl
;
16 @protocol CRWPassKitDelegate
;
18 // Factory that creates CRWPassKitDelegateNetworkClient instances
19 @interface CRWPassKitNetworkClientFactory
: CRNForwardingNetworkClientFactory
21 // Designated initializer. A weak pointer to |delegate| will be set on each
23 - (instancetype
)initWithDelegate
:(id
<CRWPassKitDelegate
>)delegate
24 tracker
:(web::RequestTrackerImpl
*)tracker
;
28 #endif // IOS_WEB_NET_CLIENTS_CRW_PASSKIT_NETWORK_CLIENT_FACTORY_H_