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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/exo/buffer.cc ('k') | components/feedback/tracing_manager.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 (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> 7 #include <stddef.h>
8 #include <cmath> 8 #include <cmath>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/hash.h" 11 #include "base/hash.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "components/favicon/core/favicon_client.h" 14 #include "components/favicon/core/favicon_client.h"
15 #include "components/favicon_base/favicon_util.h" 15 #include "components/favicon_base/favicon_util.h"
16 #include "components/favicon_base/select_favicon_frames.h" 16 #include "components/favicon_base/select_favicon_frames.h"
17 #include "components/history/core/browser/history_service.h" 17 #include "components/history/core/browser/history_service.h"
18 #include "third_party/skia/include/core/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
19 #include "ui/gfx/codec/png_codec.h" 19 #include "ui/gfx/codec/png_codec.h"
20 #include "ui/gfx/favicon_size.h" 20 #include "ui/gfx/favicon_size.h"
21 #include "ui/gfx/image/image_skia.h" 21 #include "ui/gfx/image/image_skia.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 callback.Run(favicon_base::FaviconRawBitmapResult()); 367 callback.Run(favicon_base::FaviconRawBitmapResult());
368 return; 368 return;
369 } 369 }
370 370
371 bitmap_result.bitmap_data = base::RefCountedBytes::TakeVector( 371 bitmap_result.bitmap_data = base::RefCountedBytes::TakeVector(
372 &resized_bitmap_data); 372 &resized_bitmap_data);
373 callback.Run(bitmap_result); 373 callback.Run(bitmap_result);
374 } 374 }
375 375
376 } // namespace favicon 376 } // namespace favicon
OLDNEW
« no previous file with comments | « components/exo/buffer.cc ('k') | components/feedback/tracing_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698