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

Side by Side Diff: components/favicon_base/favicon_types.cc

Issue 2685173002: Extend LargeIconService to fetch missing favicons from a Google server (Closed)
Patch Set: Peter's comments #2 (WIP) Created 3 years, 9 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 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 "components/favicon_base/favicon_types.h" 5 #include "components/favicon_base/favicon_types.h"
6 6
7 #include "components/favicon_base/fallback_icon_style.h" 7 #include "components/favicon_base/fallback_icon_style.h"
8 8
9 namespace favicon_base { 9 namespace favicon_base {
10 10
(...skipping 15 matching lines...) Expand all
26 const FaviconRawBitmapResult& other) = default; 26 const FaviconRawBitmapResult& other) = default;
27 27
28 FaviconRawBitmapResult::~FaviconRawBitmapResult() {} 28 FaviconRawBitmapResult::~FaviconRawBitmapResult() {}
29 29
30 // -------------------------------------------------------- 30 // --------------------------------------------------------
31 // LargeIconResult 31 // LargeIconResult
32 32
33 LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in) 33 LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in)
34 : bitmap(bitmap_in) {} 34 : bitmap(bitmap_in) {}
35 35
36 LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in) 36 LargeIconResult::LargeIconResult(
37 : fallback_icon_style(fallback_icon_style_in) {} 37 std::unique_ptr<FallbackIconStyle> fallback_icon_style_in)
38 : fallback_icon_style(std::move(fallback_icon_style_in)) {}
38 39
39 LargeIconResult::~LargeIconResult() {} 40 LargeIconResult::~LargeIconResult() {}
40 41
41 } // namespace favicon_base 42 } // namespace favicon_base
OLDNEW
« no previous file with comments | « components/favicon_base/favicon_types.h ('k') | ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698