Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: components/webp_transcode/webp_network_client.h

Issue 1022813002: [iOS] Upstream WebP network client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webp_transcode/DEPS ('k') | components/webp_transcode/webp_network_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..307856bf2e527ec02753202d8ec114738e1b4cbb
--- /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;
+
+@end
+
+#endif // COMPONENTS_WEBP_TRANSCODE_WEBP_NETWORK_CLIENT_H_
« no previous file with comments | « components/webp_transcode/DEPS ('k') | components/webp_transcode/webp_network_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698