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

Side by Side Diff: components/favicon/core/favicon_service.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « components/favicon/core/favicon_service.h ('k') | components/favicon/core/large_icon_service.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "components/favicon/core/favicon_service.h" 5 #include "components/favicon/core/favicon_service.h"
6 6
7 #include <stddef.h>
8
7 #include <cmath> 9 #include <cmath>
8 10
9 #include "base/hash.h" 11 #include "base/hash.h"
10 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
12 #include "components/favicon/core/favicon_client.h" 14 #include "components/favicon/core/favicon_client.h"
13 #include "components/favicon_base/favicon_util.h" 15 #include "components/favicon_base/favicon_util.h"
14 #include "components/favicon_base/select_favicon_frames.h" 16 #include "components/favicon_base/select_favicon_frames.h"
15 #include "components/history/core/browser/history_service.h" 17 #include "components/history/core/browser/history_service.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 callback.Run(favicon_base::FaviconRawBitmapResult()); 368 callback.Run(favicon_base::FaviconRawBitmapResult());
367 return; 369 return;
368 } 370 }
369 371
370 bitmap_result.bitmap_data = base::RefCountedBytes::TakeVector( 372 bitmap_result.bitmap_data = base::RefCountedBytes::TakeVector(
371 &resized_bitmap_data); 373 &resized_bitmap_data);
372 callback.Run(bitmap_result); 374 callback.Run(bitmap_result);
373 } 375 }
374 376
375 } // namespace favicon 377 } // namespace favicon
OLDNEW
« no previous file with comments | « components/favicon/core/favicon_service.h ('k') | components/favicon/core/large_icon_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698