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

Side by Side Diff: ios/chrome/browser/net/image_fetcher.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "ios/chrome/browser/net/image_fetcher.h" 5 #import "ios/chrome/browser/net/image_fetcher.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #include <stddef.h>
8 9
9 #include "base/bind.h" 10 #include "base/bind.h"
10 #include "base/location.h" 11 #include "base/location.h"
11 #include "base/mac/scoped_nsobject.h" 12 #include "base/mac/scoped_nsobject.h"
12 #include "base/task_runner.h" 13 #include "base/task_runner.h"
13 #include "components/webp_transcode/webp_decoder.h" 14 #include "components/webp_transcode/webp_decoder.h"
14 #include "ios/web/public/web_thread.h" 15 #include "ios/web/public/web_thread.h"
15 #include "net/base/load_flags.h" 16 #include "net/base/load_flags.h"
16 #include "net/http/http_response_headers.h" 17 #include "net/http/http_response_headers.h"
17 #include "net/url_request/url_fetcher.h" 18 #include "net/url_request/url_fetcher.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 NSData* data) { 169 NSData* data) {
169 (callback.get())(url, http_response_code, data); 170 (callback.get())(url, http_response_code, data);
170 } 171 }
171 172
172 void ImageFetcher::SetRequestContextGetter( 173 void ImageFetcher::SetRequestContextGetter(
173 const scoped_refptr<net::URLRequestContextGetter>& request_context_getter) { 174 const scoped_refptr<net::URLRequestContextGetter>& request_context_getter) {
174 request_context_getter_ = request_context_getter; 175 request_context_getter_ = request_context_getter;
175 } 176 }
176 177
177 } // namespace image_fetcher 178 } // namespace image_fetcher
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/crl_set_fetcher.cc ('k') | ios/chrome/browser/net/image_fetcher_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698