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

Side by Side Diff: components/favicon/core/favicon_driver_impl.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 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 COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_ 6 #define COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/favicon/core/favicon_driver.h" 12 #include "components/favicon/core/favicon_driver.h"
13 13
14 class GURL; 14 class GURL;
15 class SkBitmap; 15 class SkBitmap;
16 16
17 namespace bookmarks { 17 namespace bookmarks {
18 class BookmarkModel; 18 class BookmarkModel;
19 } 19 }
20 20
21 namespace gfx { 21 namespace gfx {
22 class Image;
23 class Size; 22 class Size;
24 } 23 }
25 24
26 namespace history { 25 namespace history {
27 class HistoryService; 26 class HistoryService;
28 } 27 }
29 28
30 namespace favicon { 29 namespace favicon {
31 30
32 class FaviconDriverObserver;
33 class FaviconHandler; 31 class FaviconHandler;
34 class FaviconService; 32 class FaviconService;
35 struct FaviconURL; 33 struct FaviconURL;
36 34
37 // FaviconDriverImpl is a partial implementation of FaviconDriver that allow 35 // FaviconDriverImpl is a partial implementation of FaviconDriver that allow
38 // sharing implementation between different embedder. 36 // sharing implementation between different embedder.
39 // 37 //
40 // FaviconDriverImpl works with FaviconHandlers to fetch the favicons. It 38 // FaviconDriverImpl works with FaviconHandlers to fetch the favicons. It
41 // fetches the given page's icons, requesting them from history backend. If the 39 // fetches the given page's icons, requesting them from history backend. If the
42 // icon is not available or expired, the icon will be downloaded and saved in 40 // icon is not available or expired, the icon will be downloaded and saved in
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // |touch_icon_handler_| may be null depending on the platform and variations. 88 // |touch_icon_handler_| may be null depending on the platform and variations.
91 std::unique_ptr<FaviconHandler> favicon_handler_; 89 std::unique_ptr<FaviconHandler> favicon_handler_;
92 std::unique_ptr<FaviconHandler> touch_icon_handler_; 90 std::unique_ptr<FaviconHandler> touch_icon_handler_;
93 91
94 DISALLOW_COPY_AND_ASSIGN(FaviconDriverImpl); 92 DISALLOW_COPY_AND_ASSIGN(FaviconDriverImpl);
95 }; 93 };
96 94
97 } // namespace favicon 95 } // namespace favicon
98 96
99 #endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_ 97 #endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_IMPL_H_
OLDNEW
« no previous file with comments | « components/favicon/core/fallback_icon_client.h ('k') | components/favicon/core/favicon_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698