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

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

Issue 1092873002: [Icons NTP] Refactor large_icon_source to extract the logic shared between desktop and Android to f… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 namespace favicon_base { 7 namespace favicon_base {
8 8
9 // --------------------------------------------------------- 9 // ---------------------------------------------------------
10 // FaviconImageResult 10 // FaviconImageResult
11 11
12 FaviconImageResult::FaviconImageResult() {} 12 FaviconImageResult::FaviconImageResult() {}
13 13
14 FaviconImageResult::~FaviconImageResult() {} 14 FaviconImageResult::~FaviconImageResult() {}
15 15
16 // -------------------------------------------------------- 16 // --------------------------------------------------------
17 // FaviconRawBitmapResult 17 // FaviconRawBitmapResult
18 18
19 FaviconRawBitmapResult::FaviconRawBitmapResult() 19 FaviconRawBitmapResult::FaviconRawBitmapResult()
20 : expired(false), icon_type(INVALID_ICON) { 20 : expired(false), icon_type(INVALID_ICON) {
21 } 21 }
22 22
23 FaviconRawBitmapResult::~FaviconRawBitmapResult() { 23 FaviconRawBitmapResult::~FaviconRawBitmapResult() {
24 } 24 }
25 25
26 // --------------------------------------------------------
27 // LargeIconResult
28
29 LargeIconResult::LargeIconResult()
30 : dominant_color(SK_ColorTRANSPARENT) {
31 }
32
33 LargeIconResult::~LargeIconResult() {
34 }
35
26 } // namespace favicon_base 36 } // namespace favicon_base
OLDNEW
« components/favicon_base/favicon_types.h ('K') | « components/favicon_base/favicon_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698