OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_ | |
6 #define COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 #include "base/memory/ref_counted.h" | |
11 #import "ios/net/clients/crn_forwarding_network_client_factory.h" | |
12 | |
13 namespace base { | |
14 class SequencedTaskRunner; | |
15 } | |
16 | |
17 // Factory that creates WebPNetworkClient instances. | |
18 @interface WebPNetworkClientFactory : CRNForwardingNetworkClientFactory | |
19 | |
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; | |
24 | |
25 @end | |
26 | |
27 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_ | |
OLD | NEW |