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

Side by Side Diff: extensions/browser/image_loader.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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
« no previous file with comments | « extensions/browser/image_loader.h ('k') | extensions/browser/image_loader_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/image_loader.h" 5 #include "extensions/browser/image_loader.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/callback.h" 12 #include "base/callback.h"
11 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
12 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
13 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
14 #include "base/threading/sequenced_worker_pool.h" 16 #include "base/threading/sequenced_worker_pool.h"
15 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
16 #include "extensions/browser/component_extension_resource_manager.h" 18 #include "extensions/browser/component_extension_resource_manager.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 it != image_skia_map.end(); 324 it != image_skia_map.end();
323 ++it) { 325 ++it) {
324 it->second.MakeThreadSafe(); 326 it->second.MakeThreadSafe();
325 image_family.Add(it->second); 327 image_family.Add(it->second);
326 } 328 }
327 329
328 callback.Run(image_family); 330 callback.Run(image_family);
329 } 331 }
330 332
331 } // namespace extensions 333 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/image_loader.h ('k') | extensions/browser/image_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698