Port Android relocation packer to chromium build
[chromium-blink-merge.git] / components / webp_transcode / webp_network_client_factory.h
blobd64f59d2b54ccba21a61febd74054b87fe79c2a5
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"
13 namespace base {
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;
25 @end
27 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_