OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "content/public/common/favicon_url.h" | 13 #include "content/public/common/favicon_url.h" |
14 | 14 |
15 class GURL; | |
16 class SkBitmap; | 15 class SkBitmap; |
17 | 16 |
18 namespace internal { | 17 namespace internal { |
19 class FaviconRawBitmapHandler; | 18 class FaviconRawBitmapHandler; |
20 } | 19 } |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 class WebContents; | 22 class WebContents; |
24 } | 23 } |
25 | 24 |
(...skipping 26 matching lines...) Expand all Loading... |
52 bool HasPendingDownloads() const; | 51 bool HasPendingDownloads() const; |
53 | 52 |
54 private: | 53 private: |
55 content::WebContents* web_contents_; | 54 content::WebContents* web_contents_; |
56 std::unique_ptr<internal::FaviconRawBitmapHandler> favicon_handler_; | 55 std::unique_ptr<internal::FaviconRawBitmapHandler> favicon_handler_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(LauncherFaviconLoader); | 57 DISALLOW_COPY_AND_ASSIGN(LauncherFaviconLoader); |
59 }; | 58 }; |
60 | 59 |
61 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ | 60 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_FAVICON_LOADER_H_ |
OLD | NEW |