Fix breakages in https://codereview.chromium.org/1155713003/
[chromium-blink-merge.git] / ios / web / net / clients / crw_passkit_network_client_factory.h
blob04a77bf925e987cb26fe02bd42c8f6b4d7dea3ca
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"
12 namespace web {
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
22 // client created.
23 - (instancetype)initWithDelegate:(id<CRWPassKitDelegate>)delegate
24 tracker:(web::RequestTrackerImpl*)tracker;
26 @end
28 #endif // IOS_WEB_NET_CLIENTS_CRW_PASSKIT_NETWORK_CLIENT_FACTORY_H_