| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "components/webp_transcode/webp_network_client.h" | 5 #import "components/webp_transcode/webp_network_client.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/location.h" | 11 #include "base/location.h" |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/mac/bind_objc_block.h" | 13 #include "base/mac/bind_objc_block.h" |
| 12 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
| 13 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
| 14 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 15 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
| 16 #include "base/strings/sys_string_conversions.h" | 18 #include "base/strings/sys_string_conversions.h" |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 - (void)didFinishLoading { | 222 - (void)didFinishLoading { |
| 221 if (_webpDecoder.get()) { | 223 if (_webpDecoder.get()) { |
| 222 _taskRunner->PostTask(FROM_HERE, | 224 _taskRunner->PostTask(FROM_HERE, |
| 223 base::Bind(&WebpDecoder::Stop, _webpDecoder)); | 225 base::Bind(&WebpDecoder::Stop, _webpDecoder)); |
| 224 } else { | 226 } else { |
| 225 [super didFinishLoading]; | 227 [super didFinishLoading]; |
| 226 } | 228 } |
| 227 } | 229 } |
| 228 | 230 |
| 229 @end | 231 @end |
| OLD | NEW |