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

Side by Side Diff: chrome/browser/favicon/favicon_tab_helper.h

Issue 10829184: Remove a few unneeded includes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: linux? Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FAVICON_FAVICON_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "chrome/browser/favicon/favicon_handler_delegate.h" 12 #include "chrome/browser/favicon/favicon_handler_delegate.h"
13 #include "chrome/browser/favicon/favicon_service.h" 13 #include "chrome/browser/history/history_types.h"
14 #include "chrome/common/favicon_url.h" 14 #include "chrome/common/favicon_url.h"
15 #include "content/public/browser/web_contents_observer.h" 15 #include "content/public/browser/web_contents_observer.h"
16 #include "googleurl/src/gurl.h"
17 16
18 namespace gfx { 17 namespace gfx {
19 class Image; 18 class Image;
20 } 19 }
21 20
21 class GURL;
22 class FaviconHandler; 22 class FaviconHandler;
23 class Profile;
23 class SkBitmap; 24 class SkBitmap;
24 25
25 // FaviconTabHelper works with FaviconHandlers to fetch the favicons. 26 // FaviconTabHelper works with FaviconHandlers to fetch the favicons.
26 // 27 //
27 // FetchFavicon fetches the given page's icons. It requests the icons from the 28 // FetchFavicon fetches the given page's icons. It requests the icons from the
28 // history backend. If the icon is not available or expired, the icon will be 29 // history backend. If the icon is not available or expired, the icon will be
29 // downloaded and saved in the history backend. 30 // downloaded and saved in the history backend.
30 // 31 //
31 // DownloadImage downloads the specified icon and returns it through the given 32 // DownloadImage downloads the specified icon and returns it through the given
32 // callback. 33 // callback.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 scoped_ptr<FaviconHandler> favicon_handler_; 101 scoped_ptr<FaviconHandler> favicon_handler_;
101 102
102 // Handles downloading touchicons. It is NULL if 103 // Handles downloading touchicons. It is NULL if
103 // browser_defaults::kEnableTouchIcon is false. 104 // browser_defaults::kEnableTouchIcon is false.
104 scoped_ptr<FaviconHandler> touch_icon_handler_; 105 scoped_ptr<FaviconHandler> touch_icon_handler_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper); 107 DISALLOW_COPY_AND_ASSIGN(FaviconTabHelper);
107 }; 108 };
108 109
109 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ 110 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698