OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ | 5 #ifndef CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ |
6 #define CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ | 6 #define CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/macros.h" |
12 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class WebContents; | 15 class WebContents; |
16 } // namespace content | 16 } // namespace content |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class Size; | 19 class Size; |
20 } // namespace gfx | 20 } // namespace gfx |
21 | 21 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 static int FindClosestBitmapIndex(int ideal_icon_size_in_px, | 65 static int FindClosestBitmapIndex(int ideal_icon_size_in_px, |
66 int minimum_icon_size_in_px, | 66 int minimum_icon_size_in_px, |
67 const std::vector<SkBitmap>& bitmaps); | 67 const std::vector<SkBitmap>& bitmaps); |
68 | 68 |
69 friend class ManifestIconDownloaderTest; | 69 friend class ManifestIconDownloaderTest; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(ManifestIconDownloader); | 71 DISALLOW_COPY_AND_ASSIGN(ManifestIconDownloader); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ | 74 #endif // CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_ |
OLD | NEW |