| Index: components/webp_transcode/webp_network_client_factory.h
|
| diff --git a/components/webp_transcode/webp_network_client_factory.h b/components/webp_transcode/webp_network_client_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d64f59d2b54ccba21a61febd74054b87fe79c2a5
|
| --- /dev/null
|
| +++ b/components/webp_transcode/webp_network_client_factory.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_
|
| +#define COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +#import "ios/net/clients/crn_forwarding_network_client_factory.h"
|
| +
|
| +namespace base {
|
| +class SequencedTaskRunner;
|
| +}
|
| +
|
| +// Factory that creates WebPNetworkClient instances.
|
| +@interface WebPNetworkClientFactory : CRNForwardingNetworkClientFactory
|
| +
|
| +// |runner| is the task runner used to perform the image decoding.
|
| +// Designated initializer.
|
| +- (instancetype)initWithTaskRunner:
|
| + (const scoped_refptr<base::SequencedTaskRunner>&)runner;
|
| +
|
| +@end
|
| +
|
| +#endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_FACTORY_H_
|
|
|