| 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_H_ |
| 6 #define COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 #include "base/memory/ref_counted.h" |
| 11 #import "ios/net/clients/crn_forwarding_network_client.h" |
| 12 #import "ios/net/clients/crn_forwarding_network_client_factory.h" |
| 13 |
| 14 // Network client that decodes WebP images. |
| 15 @interface WebPNetworkClient : CRNForwardingNetworkClient |
| 16 |
| 17 // |runner| is the task runner used to perform the image decoding. |
| 18 // Designated initializer. |
| 19 - (instancetype)initWithTaskRunner: |
| 20 (const scoped_refptr<base::SequencedTaskRunner>&)runner; |
| 21 |
| 22 @end |
| 23 |
| 24 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_H_ |
| OLD | NEW |