1 // Copyright 2013 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 COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_
6 #define COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_
8 #import <Foundation/Foundation.h>
10 #include "base/memory/ref_counted.h"
11 #import "ios/net/clients/crn_forwarding_network_client_factory.h"
14 class SequencedTaskRunner
;
17 // Factory that creates WebPNetworkClient instances.
18 @interface WebPNetworkClientFactory
: CRNForwardingNetworkClientFactory
20 // |runner| is the task runner used to perform the image decoding.
21 // Designated initializer.
22 - (instancetype
)initWithTaskRunner
:
23 (const scoped_refptr
<base::SequencedTaskRunner
>&)runner
;
27 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_