Chromium Code Reviews| Index: components/webp_transcode/webp_network_client.h |
| diff --git a/components/webp_transcode/webp_network_client.h b/components/webp_transcode/webp_network_client.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..61ab7ff0a83503754681c6d7618d74c8337bc517 |
| --- /dev/null |
| +++ b/components/webp_transcode/webp_network_client.h |
| @@ -0,0 +1,24 @@ |
| +// 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_H_ |
| +#define COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_H_ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +#include "base/memory/ref_counted.h" |
| +#import "ios/net/clients/crn_forwarding_network_client.h" |
| +#import "ios/net/clients/crn_forwarding_network_client_factory.h" |
| + |
| +// Network client that decodes WebP images. |
| +@interface WebPNetworkClient : CRNForwardingNetworkClient |
| + |
| +// |runner| is the task runner used to perform the image decoding. |
| +// Designated initializer. |
| +- (instancetype)initWithTaskRunner: |
| + (const scoped_refptr<base::SequencedTaskRunner>&)runner; |
|
sdefresne
2015/03/19 17:06:34
style: I think this should be indented by 4 spaces
droger
2015/03/20 10:51:41
Yes it is a bug:
https://b.corp.google.com/u/0/iss
|
| + |
| +@end |
| + |
| +#endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_H_ |