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

Side by Side Diff: ios/web/public/image_fetcher/webp_decoder.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
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 #include "ios/web/public/image_fetcher/webp_decoder.h" 5 #import "ios/web/public/image_fetcher/webp_decoder.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 13
14 #if !defined(__has_feature) || !__has_feature(objc_arc) 14 #if !defined(__has_feature) || !__has_feature(objc_arc)
15 #error "This file requires ARC support." 15 #error "This file requires ARC support."
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 } 246 }
247 UMA_HISTOGRAM_ENUMERATION("WebP.DecodedImageFormat", format, 247 UMA_HISTOGRAM_ENUMERATION("WebP.DecodedImageFormat", format,
248 DECODED_FORMAT_COUNT); 248 DECODED_FORMAT_COUNT);
249 delegate_->SetImageFeatures([result_data length], format); 249 delegate_->SetImageFeatures([result_data length], format);
250 delegate_->OnDataDecoded(result_data); 250 delegate_->OnDataDecoded(result_data);
251 output_buffer_.reset(); 251 output_buffer_.reset();
252 return true; 252 return true;
253 } 253 }
254 254
255 } // namespace webp_transcode 255 } // namespace webp_transcode
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698